windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsnavigation-996137b7.md
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
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool AutoMoveRowFocus { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property AutoMoveRowFocus As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true if horizontal navigation keys can move focus between nodes; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to AutoMoveRowFocus |
|---|---|
| TreeList |
.OptionsNavigation .AutoMoveRowFocus
|
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
TreeListOptionsNavigation Class