Share via


TreeViewNode.HasChildren Propriedade

Definição

Obtém um valor que indica se o nó atual tem itens filho.

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

Valor da propriedade

Boolean

bool

true se o nó atual tiver itens filho; caso contrário, false.

Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Aplica-se a