| Visual Basic (Declaration) | |
|---|---|
Public ReadOnly Property HasNodes As Boolean | |
| C# | |
|---|---|
public bool HasNodes {get;} | |
The advantage of checking this property instead of the Count property of the UltraTreeNode.Nodes collection is that it won't allocate the collection if it doesn't already exist.
