Back to Devexpress

TreeViewControl.ExpandAllNodes() Method

wpf-devexpress-dot-xpf-dot-grid-dot-treeviewcontrol-b13aab62.md

latest1.3 KB
Original Source

TreeViewControl.ExpandAllNodes() Method

Expands all nodes.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public void ExpandAllNodes()
vb
Public Sub ExpandAllNodes

Remarks

To expand a node, use the ExpandNode method. To collapse the specified node or all nodes, use the CollapseNode or CollapseAllNodes method, respectively.

Set the AutoExpandAllNodes property to true to expand all nodes when the TreeViewControl is loaded.

See Also

TreeViewControl Class

TreeViewControl Members

DevExpress.Xpf.Grid Namespace