TreeViewNode.Depth プロパティ

定義

ツリーのルート ノードから現在のノードの距離を示す値を取得します。

UWP 用の同等の WinUI 2 API: Microsoft.UI.Xaml.Controls.TreeViewNode.Depth (Windows アプリ SDKの WinUI の場合は、Windows アプリ SDK名前空間を参照してください)。

public:
 property int Depth { int get(); };
int Depth();
public int Depth { get; }
var int32 = treeViewNode.depth;
Public ReadOnly Property Depth As Integer

プロパティ値

Int32

int

ツリーのルート ノードからの現在のノードの深さ。

適用対象