.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ShowSelectionMode Enum

Lists values used to specify whether the cell selection should be highlighted when the SpreadsheetControl is not focused.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v21.2.Core.dll


public enum ShowSelectionMode


Name Description

The selected cells are always highlighted in the SpreadsheetControl, even if the control is not focused.


The selected cells are highlighted in the SpreadsheetControl only if the control is focused.

Related API Members

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