Skip to main content

TreeListView.AutoExpandAllNodes Property

Gets or sets whether all nodes are automatically expanded when the View is being loaded. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core


public bool AutoExpandAllNodes { get; set; }

Property Value

Type Description

true to expand all nodes when the View is being loaded; otherwise, false.


If the AutoExpandAllNodes property is set to true, all nodes that have children are automatically expanded when the View is being loaded or the control’s DataControlBase.ItemsSource property’s value has been changed.

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


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