Skip to main content
A newer version of this page is available. .
All docs
V20.2

TreeViewControl.ExpandAllNodes() Method

Expands all nodes.

Namespace: DevExpress.Xpf.Grid

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

public void 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