TreeViewExpandingEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides event data for the TreeView.Expanding event.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewExpandingEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
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
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v6.0)
|
Remarks
Version history
Windows version | SDK version | Value added |
---|---|---|
1809 | 17763 | Item |
Properties
Item |
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). |
Node |
Gets the tree view node that is expanding. Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewExpandingEventArgs.Node (for WinUI in the Windows App SDK, see the Windows App SDK namespaces). |