Freigeben über


TreeViewCollapsedEventArgs Klasse

Definition

Stellt Ereignisdaten für das TreeView.Collapsed-Ereignis bereit.

Entsprechende WinUI 2-API für UWP: Microsoft.UI.Xaml.Controls.TreeViewCollapsedEventArgs (für WinUI in der Windows App SDK siehe Windows App SDK Namespaces).

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

Windows-Anforderungen

Gerätefamilie
Windows 10, version 1803 (eingeführt in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v6.0)

Hinweise

Versionsverlauf

Windows-Version SDK-Version Wertschöpfung
1809 17763 Element

Eigenschaften

Item

Ruft das TreeView-Element ab, das reduziert ist.

Entsprechende WinUI 2-API für UWP: Microsoft.UI.Xaml.Controls.TreeViewCollapsedEventArgs.Item (für WinUI im Windows App SDK siehe Windows App SDK Namespaces).

Node

Ruft den TreeView-Knoten ab, der reduziert ist.

Entsprechende WinUI 2-API für UWP: Microsoft.UI.Xaml.Controls.TreeViewCollapsedEventArgs.Node (für WinUI in der Windows App SDK siehe Windows App SDK Namespaces).

Gilt für: