Skip to main content

TreeListView.ExpandAllNodes() Method

Expands all nodes.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public void ExpandAllNodes()

Remarks

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

Set the TreeListView.AutoExpandAllNodes property to true to expand all nodes automatically when the TreeListView is being loaded.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ExpandAllNodes() method.

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.

See Also