windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsselection-33877188.md
Gets or sets whether rows can be selected via the Row Indicator Panel when the grid is in multiple selection mode.
Namespace : DevExpress.XtraGrid.Views.Grid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool UseIndicatorForSelection { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property UseIndicatorForSelection As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if rows can be selected via the row indicator; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to UseIndicatorForSelection |
|---|---|
| GridView |
.OptionsSelection .UseIndicatorForSelection
|
When the ColumnViewOptionsSelection.MultiSelect option is set to true , multiple row selection mode is enabled. By default, the UseIndicatorForSelection property is set to true and rows can be selected via the row indicator (an end-user can drag with the mouse along the indicator to select a range of records or click a specific row’s indicator cell while holding down the CTRL key to toggle only this row’s selection state).
If the UseIndicatorForSelection property is set to false , rows cannot be selected via the indicator. See the End-User Capabilities: Selecting Rows/Cards topic for information on how records can be selected by end-users.
See Also