Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.23 KB

uielement_dropcompleted.md

File metadata and controls

36 lines (21 loc) · 1.23 KB
-api-id -api-type
E:Windows.UI.Xaml.UIElement.DropCompleted
winrt event

Windows.UI.Xaml.UIElement.DropCompleted

-description

Occurs when a drag-and-drop operation with this element as the source is ended.

-xaml-syntax

<uiElement DropCompleted="eventhandler"/>

-remarks

DropCompleted is raised on the drag source element after DragStarting, when the dragged element has been dropped. You can handle this event and take appropriate action based on the DropResult in the event args. For example, if the DropResult is Move, you should delete the original drag source.

DragStarting and DropCompleted are raised only if CanDrag is true.

DropCompleted is a routed event. For more info on the routed event concept, see Events and routed events overview.

-examples

-see-also

DropCompletedEventArgs