Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
TreeViewNode.HasChildren Property
Definition
- Namespace:
- Microsoft.UI.Xaml.Controls
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the current node has child items.
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
Property Value
Boolean
bool
true if the current node has child items; otherwise, false.
- Attributes
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute
Applies to
Feedback
Was this page helpful?
