Megosztás a következőn keresztül:


TreeViewExpandingEventArgs.Item Property

Definition

Gets the data item for the tree view node that is expanding.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewExpandingEventArgs.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 = treeViewExpandingEventArgs.item;
Public ReadOnly Property Item As Object

Property Value

Object

Platform::Object

IInspectable

The data item for the tree view node that is expanding.

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