officefileapi-devexpress-dot-xtraspreadsheet-a3fa421a.md
Lists values that specify how to move an active cell on an ENTER key press.
Namespace : DevExpress.XtraSpreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public enum MoveActiveCellModeOnEnterPress
Public Enum MoveActiveCellModeOnEnterPress
| Name | Description |
|---|---|
None |
An active cell does not move on an ENTER or a SHIFT+ENTER press.
|
| Down |
An active cell moves one cell down on an ENTER press, and one cell up on a SHIFT+ENTER press.
|
| Right |
An active cell moves one cell to the right on an ENTER press, and one cell to the left on a SHIFT+ENTER press.
|
| Up |
An active cell moves one cell up on an ENTER press, and one cell down on a SHIFT+ENTER press.
|
| Left |
An active cell moves one cell to the left on an ENTER press, and one cell to the right on a SHIFT+ENTER press.
|
The following properties accept/return MoveActiveCellModeOnEnterPress values:
| Library | Related API Members |
|---|---|
| WPF Controls | SpreadsheetSelectionBehaviorOptions.MoveActiveCellMode |
| Office File API | SpreadsheetSelectionOptions.MoveActiveCellMode |
The MoveActiveCellModeOnEnterPress enumeration values are used by the SpreadsheetSelectionOptions.MoveActiveCellMode and SpreadsheetSelectionBehaviorOptions.MoveActiveCellMode properties, accessible via SpreadsheetControl.Options.Behavior.Selection.MoveActiveCellMode notation.
See Also