TreeListView.RestoreFocusOnExpand Property

Gets or sets whether focus is restored on a child node after expanding its parent node. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v21.1.dll


public bool RestoreFocusOnExpand { get; set; }

Property Value

Type Description

true, to restore focus; otherwise, false.


If the RestoreFocusOnExpand property is set to true and a node whose child node is focused is collapsed, a subsequent expansion returns focus to the child node. Otherwise, focus on the parent node is preserved.

See Also