SpreadsheetSelectionOptions.ShowSelectionMode Property
In This Article
Gets or sets whether the cell selection should be highlighted when the SpreadsheetControl is in the unfocused state.
Namespace: DevExpress.XtraSpreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
[DefaultValue(ShowSelectionMode.Always)]
public ShowSelectionMode ShowSelectionMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Show |
Always | A Show |
Available values:
Name | Description |
---|---|
Always | The selected cells are always highlighted in the Spreadsheet |
Focused | The selected cells are highlighted in the Spreadsheet |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Show |
---|---|
Spreadsheet |
|
#Remarks
To access the ShowSelectionMode property, use the SpreadsheetControl.Options.Behavior.Selection.ShowSelectionMode notation.
See Also