windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsnavigation-0c4c6721.md
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
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool EnterMovesNextColumn { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property EnterMovesNextColumn As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true , to enable focus moving using the ENTER key; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to EnterMovesNextColumn |
|---|---|
| TreeList |
.OptionsNavigation .EnterMovesNextColumn
|
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
TreeListOptionsNavigation Class