Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DXTreeView.AutoExpandMode Property

Gets or sets whether to expand nodes automatically when the DXTreeView is loaded or the DXTreeView.ItemsSource property is set to a new instance. This is a bindable property.

Namespace: DevExpress.Maui.TreeView

Assembly: DevExpress.Maui.TreeView.dll

NuGet Package: DevExpress.Maui.TreeView

#Declaration

C#
public TreeViewAutoExpandMode AutoExpandMode { get; set; }

#Property Value

Type Description
TreeViewAutoExpandMode

The auto expand mode.

Available values:

Name Description
None

All nodes are collapsed.

AllNodes

Expands all nodes when DXTreeView is initialized.

RootNodes

Expands root nodes when DXTreeView is initialized.

#Remarks

For more information, refer to the following help topic: Collapse and Expand Nodes in Tree View for .NET MAUI.

See Also