Windows.UI.Xaml.DragEventArgs.Handled

June 22, 2022 ยท View on GitHub

-description

Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route.

-property-value

true if the event is marked handled; otherwise, false. The default value is false.

-remarks

The events that use DragEventArgs for event data are routed events. Setting the value of the Handled property to true from an event handler can influence how a routed event behaves: it prevents handlers further along the route from being invoked. However, a handler that was attached by calling AddHandler with handledEventsToo is still invoked. For more info on the routed event concept, see Events and routed events overview.

-examples

-see-also

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