Skip to main content
A newer version of this page is available. .

TreeListOptionsNavigation.EnterMovesNextColumn Property

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.dll

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool EnterMovesNextColumn { get; set; }

Property Value

Type Default Description
Boolean **false**

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

Property Paths

You can access this nested property as listed below:

Library Object Type Path to EnterMovesNextColumn
WinForms Controls GanttControl
.OptionsNavigation.EnterMovesNextColumn
ResourcesTree
.OptionsNavigation.EnterMovesNextColumn
TreeList
.OptionsNavigation.EnterMovesNextColumn
Reporting XRDesignFieldList
.OptionsNavigation.EnterMovesNextColumn
XRDesignReportExplorer
.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