TreeViewCollapsedEventArgs.Item Property

Definition

Gets the TreeView item that is collapsed.

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

public:
 property Platform::Object ^ Item { Platform::Object ^ get(); };
IInspectable Item();
public object Item { get; }
var object = treeViewCollapsedEventArgs.item;
Public ReadOnly Property Item As Object

Property Value

Object

Platform::Object

IInspectable

The TreeView item that is collapsed.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to