TreeViewItemInvokedEventArgs.Handled Property

Definition

Gets or sets a value that marks the routed event as handled. A true value for prevents most handlers along the event route from handling the same event again.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property bool Handled { bool get(); void set(bool value); };
bool Handled();

void Handled(bool value);
public bool Handled { get; set; }
Public Property Handled As Boolean

Property Value

Boolean

bool

true to mark the routed event handled. false to leave the routed event unhandled, which permits the event to potentially route further and be acted on by other handlers. The default is false.

Applies to