TreeViewNode.HasChildren Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob der aktuelle Knoten untergeordnete Elemente enthält.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe die Windows App SDK Namespaces).

public:
 property bool HasChildren { bool get(); };
bool HasChildren();
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
bool HasChildren();
public bool HasChildren { get; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
public bool HasChildren { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; }
Public ReadOnly Property HasChildren As Boolean

Eigenschaftswert

Boolean

bool

true , wenn der aktuelle Knoten untergeordnete Elemente enthält; andernfalls false.

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Gilt für: