DragEventHandler DragEventHandler DragEventHandler DragEventHandler Delegate
public : delegate void DragEventHandler(PlatForm::Object sender, DragEventArgs e)
public delegate void DragEventHandler(Object sender, DragEventArgs e)
Public Delegate DragEventHandler(sender As Object, e As DragEventArgs)
- PlatForm::Object Object Object Object
The object where the event handler is attached.
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
DragEventHandler is the delegate you implement to handle these events:
- UIElement.Drop These events are routed events. Changing the value of the Handled property of DragEventArgs from an event handler can influence how a routed event behaves. For more info on the routed event concept, see Events and routed events overview.
The Windows Runtime implementation of drag-drop concepts permits only certain controls and input actions to initiate a drag-drop action. There is no generalized DoDragDrop method that would permit any UI element to initiate a drag-drop action. The main source of a drag-drop action is when you drag the items of a list such as GridView.