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

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.v24.2.dll

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