Back to Devexpress

TreeListOptionsNavigation.AutoMoveRowFocus Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsnavigation-996137b7.md

latest2.8 KB
Original Source

TreeListOptionsNavigation.AutoMoveRowFocus Property

Gets or sets whether Left and Right arrow keys move focus to the next/previous node when the current node’s last/first cell is focused.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool AutoMoveRowFocus { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property AutoMoveRowFocus As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if horizontal navigation keys can move focus between nodes; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AutoMoveRowFocus
TreeList

.OptionsNavigation .AutoMoveRowFocus

|

Remarks

End-users can move focus between node cells with left and right arrow keys. If the TreeListOptionsNavigation.UseTabKey option is set to true, users can also press TAB/SHIFT + TAB.

If the TreeListOptionsNavigation.EnterMovesNextColumn option is set to true, the Enter key also moves focus between cells.

Note

The TreeListOptionsNavigation.AllowExpandCollapseWithArrowKeys option has priority over the AutoMoveRowFocus property. When both options are enabled and the first cell in an expanded node is focused, a Left Arrow key press collapses the node. The first node cell retains focus.

See Also

UseTabKey

EnterMovesNextColumn

TreeListOptionsNavigation Class

TreeListOptionsNavigation Members

DevExpress.XtraTreeList Namespace