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.1.dll

Declaration

public bool? ExpandCollapseNodesOnNavigation { get; set; }
Public Property ExpandCollapseNodesOnNavigation As Boolean?

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