UIElement.DropCompleted UIElement.DropCompleted UIElement.DropCompleted UIElement.DropCompleted Event


Occurs when a drag-and-drop operation is ended.

public : event TypedEventHandler<UIElement, DropCompletedEventArgs> DropCompleted
// Register
event_token DropCompleted(TypedEventHandler<UIElement, DropCompletedEventArgs> const& handler) const;

// Revoke with event_token
void DropCompleted(event_token const& cookie) const;

// Revoke with event_revoker
DropCompleted_revoker DropCompleted(auto_revoke_t, TypedEventHandler<UIElement, DropCompletedEventArgs> const& handler) const;
public event TypedEventHandler<UIElement, DropCompletedEventArgs> DropCompleted
Public Event DropCompleted As TypedEventHandler (Of UIElement, DropCompletedEventArgs)
<uiElement DropCompleted="eventhandler"/>


DropCompleted is a routed event. An element must have AllowDrop be true to be a DropCompleted event source. If the event is permitted to bubble up to parent elements because it goes unhandled, then it is possible to handle the event on a parent element if AllowDrop is true on the parent element. Intermediate elements in the route that aren't either the handler object or the drop target don't need AllowDrop to be true. For more info on the routed event concept, see Events and routed events overview.

See also