Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

public enum ShowSelectionMode

#Members

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.

#Related API Members

The following properties accept/return ShowSelectionMode values:

Library Related API Members
WPF Controls SpreadsheetSelectionBehaviorOptions.ShowSelectionMode
Office File API SpreadsheetSelectionOptions.ShowSelectionMode

#Remarks

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

See Also