拖拽放入 Xamarin 表单 [英] Drag & Drop in Xamarin forms
问题描述
我们如何添加拖拽&在 Xamarin 中删除功能..
How do we add drag & drop functionality in Xamarin..
经过大量谷歌搜索后,我找到了以下官方拖放链接放弃 xamarin..
After lot of googling I found the following official link for drag & drop for xamarin..
https://blog.xamarin.com/android-tricks-supporting-drag-and-drop-in-an-app/
但它仅使用 android 本机代码.
But it uses the android native code only.
我的问题:
在 Xamarin 中是否可以实现拖动 &删除没有本机代码的功能?
In Xamarin is it possible to implement drag & drop functionality without native codes?
如果回答-否->我们如何实现拖拽&删除所有平台的监听器?
If answer - No -> How do we achieve the drag & drop listeners for all platforms?
我搜索了谷歌 &官方论坛什么也没找到..有人帮我..谢谢..
I searched google & the official forum and nothing found.. Someone help me..Thanks..
推荐答案
2020 看起来我们已经有了.您仍然需要设置 DragAndDrop_Experimental 标志.
2020 it looks like we have it. You still need to set up DragAndDrop_Experimental flag.
https:///docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/gestures/drag-and-drop
这篇关于拖拽放入 Xamarin 表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!