wpf-devexpress-dot-xpf-dot-grid-dot-treelistnode-0cb58de5.md
Gets or sets whether the treelist row is expanded.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public override bool IsExpanded { get; set; }
Public Overrides Property IsExpanded As Boolean
| Type | Description |
|---|---|
| Boolean |
true, if the treelist row is expanded; otherwise, false.
|
Tip
Topic : Expand and Collapse Nodes
The following code snippets (auto-collected from DevExpress Examples) contain references to the IsExpanded property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
if(this.AssociatedObject.IsValidRowHandle(rowHandle)) {
node.IsExpanded = isExpanded;
}
while (nodeIterator.MoveNext())
nodeIterator.Current.IsExpanded = nodeIterator.Current.Nodes.Count >= minChildCount;
}
If Me.AssociatedObject.IsValidRowHandle(rowHandle) Then
node.IsExpanded = isExpanded
End If
While nodeIterator.MoveNext()
nodeIterator.Current.IsExpanded = nodeIterator.Current.Nodes.Count >= minChildCount
End While
See Also