Dela via


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.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewItemInvokedEventArgs.Handled (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; }
var boolean = treeViewItemInvokedEventArgs.handled;
treeViewItemInvokedEventArgs.handled = boolean;
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