Back to Devexpress

TreeListView.RestoreFocusOnExpand Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-22534513.md

latest1.3 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Property Value

TypeDescription
Boolean

true, to restore focus; otherwise, false.

|

Remarks

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

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace