Skip to main content
A newer version of this page is available. .

TreeListView.ExpandCollapseNodesOnNavigation Property

Gets or sets whether end users can expand and collapse a focused node using the Left / Right cursor keys. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

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

Declaration

public bool? ExpandCollapseNodesOnNavigation { get; set; }

Property Value

Type Description
Nullable<Boolean>

true, if end user can expand and collapse a focused node using the Left / Right cursor keys; otherwise, false.

Remarks

Users can expand/collapse nodes as follows:

  • Click a node’s expand button.
  • Focus a node and press Ctrl + Left / Right.

Note

  • If the DataViewBase.NavigationStyle property is Row, users can press Left / Right without Ctrl to expand/collapse nodes.
  • If the ExpandCollapseNodesOnNavigation property is true, users can press Left / Right without Ctrl to expand/collapse nodes despite the DataViewBase.NavigationStyle property’s value.
See Also