Back to Devexpress

TreeListView.ExpandCollapseNodesOnNavigation Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-0e7d4d05.md

latest2.0 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Property Value

TypeDescription
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.

Tip

Topic : Expand and Collapse Nodes

See Also

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace