Back to Devexpress

ShowSelectionMode Enum

officefileapi-devexpress-dot-xtraspreadsheet-feba4ff6.md

latest1.9 KB
Original Source

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.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public enum ShowSelectionMode
vb
Public Enum ShowSelectionMode

Members

NameDescription
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:

LibraryRelated API Members
WPF ControlsSpreadsheetSelectionBehaviorOptions.ShowSelectionMode
Office File APISpreadsheetSelectionOptions.ShowSelectionMode

Remarks

The ShowSelectionMode enumeration values are used by the SpreadsheetSelectionOptions.ShowSelectionMode property accessible via SpreadsheetControl.Options.Behavior.Selection.ShowSelectionMode notation.

See Also

DevExpress.XtraSpreadsheet Namespace