Skip to main content
All docs
V25.1
  • TreeViewControl.ExpandAllNodes() Method

    Expands all nodes.

    Namespace: DevExpress.Xpf.Grid

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

    NuGet Package: 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