TreeViewNode.Depth プロパティ

定義

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

public:
 property int Depth { int get(); };
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")]
int Depth();
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")]
public int Depth { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="-1")] get; }
var int32 = treeViewNode.depth;
Public ReadOnly Property Depth As Integer

プロパティ値

Int32

int

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

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用対象