Share via


TreeViewItemInvokedEventArgs Class

Definition

Provides event data for the TreeView.ItemInvoked event.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewItemInvokedEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public ref class TreeViewItemInvokedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class TreeViewItemInvokedEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class TreeViewItemInvokedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class TreeViewItemInvokedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class TreeViewItemInvokedEventArgs
Public NotInheritable Class TreeViewItemInvokedEventArgs
Inheritance
Object Platform::Object IInspectable TreeViewItemInvokedEventArgs
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Properties

Handled

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).

InvokedItem

Gets the TreeView item that is invoked.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewItemInvokedEventArgs.InvokedItem (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Applies to