Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 2.34 KB

drageventhandler.md

File metadata and controls

44 lines (31 loc) · 2.34 KB
-api-id -api-type
T:Windows.UI.Xaml.DragEventHandler
winrt delegate

Windows.UI.Xaml.DragEventHandler

-description

Represents the method that will handle the DragEnter, DragLeave, DragOver, and Drop events of a UIElement.

-parameters

-param sender

The object where the event handler is attached.

-param e

The event data.

-remarks

DragEventHandler is the delegate you implement to handle these events:

The Control class has pre-wired event handlers that Control derived types can override to provide class-based handling for the drag-drop events,. These methods are:

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.

-examples

-see-also

Drag-and-drop overview, Events and routed events overview, DragEventArgs