Back to Devexpress

TreeListOptionsNavigation.EnterMovesNextColumn Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsnavigation-0c4c6721.md

latest2.5 KB
Original Source

TreeListOptionsNavigation.EnterMovesNextColumn Property

Gets or sets whether the ENTER key can be used to move focus between cells.

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 EnterMovesNextColumn { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property EnterMovesNextColumn As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true , to enable focus moving using the ENTER key; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to EnterMovesNextColumn
TreeList

.OptionsNavigation .EnterMovesNextColumn

|

Remarks

The EnterMovesNextColumn option defines what happens when the ENTER key is pressed and a cell’s editor is active. If it’s set to false , pressing the ENTER key will close the editor and save the changes made. Otherwise, in addition to this, pressing the ENTER key also moves focus to the node’s next cell and activates its editor. Note that focus is moved even if the next cell cannot be edited.

Note : when using memo editors, consider setting their AcceptsReturn property to false to allow this feature to be used. Otherwise, the ENTER key press is processed by the editor.

See Also

AutoMoveRowFocus

UseTabKey

TreeListOptionsNavigation Class

TreeListOptionsNavigation Members

DevExpress.XtraTreeList Namespace