Skip to content

UIElementMarkupExtensions.OnDrop<T> method

Subscribes handler to Drop. Occurs when data is dropped onto the element.

public static T OnDrop<T>(this T target, Action<DragEventArgs> handler)
where T : UIElement
parameter description
T Receiver type.
target Target UIElement.
handler Handler subscribed to Drop.

The same element for chaining.

Sets: UIElement.Drop