officefileapi-devexpress-dot-xtraspreadsheet-feba4ff6.md
Lists values used to specify whether the cell selection should be highlighted when the SpreadsheetControl is not focused.
Namespace : DevExpress.XtraSpreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public enum ShowSelectionMode
Public Enum ShowSelectionMode
| Name | Description |
|---|---|
Always |
The selected cells are always highlighted in the SpreadsheetControl, even if the control is not focused.
|
| Focused |
The selected cells are highlighted in the SpreadsheetControl only if the control is focused.
|
The following properties accept/return ShowSelectionMode values:
| Library | Related API Members |
|---|---|
| WPF Controls | SpreadsheetSelectionBehaviorOptions.ShowSelectionMode |
| Office File API | SpreadsheetSelectionOptions.ShowSelectionMode |
The ShowSelectionMode enumeration values are used by the SpreadsheetSelectionOptions.ShowSelectionMode property accessible via SpreadsheetControl.Options.Behavior.Selection.ShowSelectionMode notation.
See Also