Drop Completed Event
Some information relates to pre-released product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a drag-and-drop operation with this element as the source is ended.
// Register event_token DropCompleted(TypedEventHandler<UIElement, DropCompletedEventArgs const&> const& handler) const; // Revoke with event_token void DropCompleted(event_token const* cookie) const; // Revoke with event_revoker UIElement::DropCompleted_revoker DropCompleted(auto_revoke_t, TypedEventHandler<UIElement, DropCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<UIElement,DropCompletedEventArgs> DropCompleted;
Public Custom Event DropCompleted As TypedEventHandler(Of UIElement, DropCompletedEventArgs)
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.