You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
no-reproplatform/android 🤖Categorizes an issue or PR as relevant to the Android platformplatform/ios 🍎Categorizes an issue or PR as relevant to the iOS platformplatform/wasm 🌐Categorizes an issue or PR as relevant to the WebAssembly platformproject/pointers 🖱️Categorizes an issue or PR as relevant to mouse/touch/pen pointers
We've been making progress on the support for pointers events, pointer capture and other related features, making the implementation of this feature closer.
Make sure to upvote this issue to make it visible!
Reacted by robloo, bdominguez, Borja Domínguez, rgonzalezVW, Art Runelis, Jerepain, Dmitry, Thunderbolt , TopperDEL, Hazzamanic and 3 more
This seems more important now with the Skia backends for Linux/Win7. It seems it wouldn't be possible to use native drag-and-drop like Android/iOS in this case as Uno is rendering everything and managing the controls themselves.
I need this for a macOS port as its critical to the user-experience in a desktop environment. It makes more sense at this point to just implement WinUI-style drag-and-drop rather than making platform-specific code for my use case.
I'm happy to make myself available as a resource on this. If someone from nventive that has more experience cross-platform led the development it probably makes more sense than if I tackle it only for macOS right now. But I would be happy to help adding all classes, enums, etc. where they are needed. Please just let me know how I can help!
@dr1rrb I quickly outlined the events/classes used in drag/drop.
UIElement Events
public event DragEventHandler DragEnter;
public event DragEventHandler DragLeave;
public event DragEventHandler DragOver;
public event TypedEventHandler<UIElement,DragStartingEventArgs> DragStarting;
public event DragEventHandler Drop;
public event TypedEventHandler<UIElement,DropCompletedEventArgs> DropCompleted;
Classes
public delegate void DragEventHandler(object sender, DragEventArgs e);
public sealed class DragStartingEventArgs : RoutedEventArgs
public sealed class DropCompletedEventArgs : RoutedEventArgs
|
public sealed class DragOperationDeferral
public sealed class DragUI
public sealed class DragUIOverride
|
public sealed class DataPackage
public sealed class DataPackageView
public sealed class DataPackagePropertySet : IDictionary<string,object>, IEnumerable<KeyValuePair<string,object>>
public sealed class DataPackagePropertySetView : IEnumerable<KeyValuePair<string,object>>, IReadOnlyDictionary<string,object>
|
public enum DataPackageOperation
I know it can be tricky working with someone on features like this -- especially remotely. However, since the API and functionality are already defined it simplifies dividing up tasks. For example, I would be happy to work on DataPackage-related functionality or drag-and-drop events/classes to get the scaffolding in place before you start. Then you can focus more on connecting the pieces together. Again, just let me know if there is something you would like me to do.
This issue was classified as not reproducible with a code sample or test.
Reason: Drag and drop appears to have been implemented since this epic was filed — runtime tests covering drag-and-drop events (DragStarting, DragEnter, DropCompleted, etc.) exist in src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_UIElement.cs. If specific drag-and-drop scenarios are still broken, please file a targeted issue with a specific reproduction case.
no-reproplatform/android 🤖Categorizes an issue or PR as relevant to the Android platformplatform/ios 🍎Categorizes an issue or PR as relevant to the iOS platformplatform/wasm 🌐Categorizes an issue or PR as relevant to the WebAssembly platformproject/pointers 🖱️Categorizes an issue or PR as relevant to mouse/touch/pen pointers
Activity
abrull commentedon Jun 2, 2020
Are there any updates on this?
robloo commentedon Jun 2, 2020
Funny, I just thought of checking up on this myself. It's a pretty major deficiency still in the platform.
jeromelaban commentedon Jun 2, 2020
We've been making progress on the support for pointers events, pointer capture and other related features, making the implementation of this feature closer.
Make sure to upvote this issue to make it visible!
robloo commentedon Aug 14, 2020
This seems more important now with the Skia backends for Linux/Win7. It seems it wouldn't be possible to use native drag-and-drop like Android/iOS in this case as Uno is rendering everything and managing the controls themselves.
robloo commentedon Sep 15, 2020
I need this for a macOS port as its critical to the user-experience in a desktop environment. It makes more sense at this point to just implement WinUI-style drag-and-drop rather than making platform-specific code for my use case.
I'm happy to make myself available as a resource on this. If someone from nventive that has more experience cross-platform led the development it probably makes more sense than if I tackle it only for macOS right now. But I would be happy to help adding all classes, enums, etc. where they are needed. Please just let me know how I can help!
francoistanguay commentedon Sep 15, 2020
If all goes well, @dr1rrb is starting on it this week. Talk about timing!
robloo commentedon Sep 16, 2020
@dr1rrb I quickly outlined the events/classes used in drag/drop.
UIElement Events
Classes
|
|
|
I know it can be tricky working with someone on features like this -- especially remotely. However, since the API and functionality are already defined it simplifies dividing up tasks. For example, I would be happy to work on DataPackage-related functionality or drag-and-drop events/classes to get the scaffolding in place before you start. Then you can focus more on connecting the pieces together. Again, just let me know if there is something you would like me to do.
38 remaining items
TabView#20614DevTKSS commentedon Jun 26, 2025
#19034
[-][Epic] Drag and Drop support[/-][+][EPIC] Drag and Drop support[/+][-][EPIC] Drag and Drop support[/-][+]Drag and Drop support[/+]Merge pull request unoplatform#1480 from unoplatform/dev/agzi/AddLigh…
MartinZikmund commentedon Apr 7, 2026
Repro generator
This issue was classified as not reproducible with a code sample or test.
Reason: Drag and drop appears to have been implemented since this epic was filed — runtime tests covering drag-and-drop events (
DragStarting,DragEnter,DropCompleted, etc.) exist insrc/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_UIElement.cs. If specific drag-and-drop scenarios are still broken, please file a targeted issue with a specific reproduction case.