TreeListOptionsNavigation.EnterMovesNextColumn Property
Gets or sets whether the ENTER key can be used to move focus between cells.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
Declaration
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:
Object Type | Path to EnterMovesNextColumn |
---|---|
TreeList |
|
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.