共用方式為


TreeViewExpandingEventArgs 類別

定義

提供 TreeView.Expanding 事件的事件資料。

適用于 UWP 的對等 WinUI 2 APIMicrosoft.UI.Xaml.Controls.TreeViewExpandingEventArgs (在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 APIMicrosoft.UI.Xaml.Controls.TreeViewExpandingEventArgs.Item (for WinUI 在Windows 應用程式 SDK中,請參閱Windows 應用程式 SDK命名空間) 。

Node

取得展開的樹狀檢視節點。

適用于 UWP 的對等 WinUI 2 APImicrosoft.UI.Xaml.Controls.TreeViewExpandingEventArgs.Node (for WinUI 在Windows 應用程式 SDK中,請參閱Windows 應用程式 SDK命名空間) 。

適用於