TreeViewExpandingEventArgs 类

定义

提供 TreeView.Expanding 事件的事件数据。

适用于 UWP 的等效 WinUI 2 APIMicrosoft.UI.Xaml.Controls.TreeViewExpandingEventArgs (in the Windows 应用 SDK,请参阅Windows 应用 SDK命名空间) 。

public ref class TreeViewExpandingEventArgs 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 TreeViewExpandingEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class TreeViewExpandingEventArgs 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 TreeViewExpandingEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class TreeViewExpandingEventArgs
Public NotInheritable Class TreeViewExpandingEventArgs
继承
Object Platform::Object IInspectable TreeViewExpandingEventArgs
属性

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)

注解

版本历史记录

Windows 版本 SDK 版本 已添加值
1809 17763

属性

Item

获取正在展开的树视图节点的数据项。

适用于 UWP 的等效 WinUI 2 API:Windows 应用 SDK中 WinUI 的 Microsoft.UI.Xaml.Controls.TreeViewExpandingEventArgs.Item (,请参阅) Windows 应用 SDK命名空间

Node

获取正在展开的树视图节点。

适用于 UWP 的等效 WinUI 2 API:Windows 应用 SDK中 WinUI 的 Microsoft.UI.Xaml.Controls.TreeViewExpandingEventArgs.Node (,请参阅Windows 应用 SDK命名空间) 。

适用于