TreeViewNode.Depth Eigenschaft

Definition

Ruft einen Wert ab, der angibt, wie weit der aktuelle Knoten vom Stammknoten der Struktur stammt.

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 int Depth { int get(); };
int Depth();
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")]
int Depth();
public int Depth { get; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")]
public int Depth { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")] get; }
Public ReadOnly Property Depth As Integer

Eigenschaftswert

Int32

int

Die Tiefe des aktuellen Knotens aus dem Stammknoten der Struktur.

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Gilt für: