Back to Devexpress

GridOptionsSelection.UseIndicatorForSelection Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsselection-33877188.md

latest2.8 KB
Original Source

GridOptionsSelection.UseIndicatorForSelection Property

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

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool UseIndicatorForSelection { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property UseIndicatorForSelection As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if rows can be selected via the row indicator; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to UseIndicatorForSelection
GridView

.OptionsSelection .UseIndicatorForSelection

|

Remarks

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

GridOptionsSelection Class

GridOptionsSelection Members

DevExpress.XtraGrid.Views.Grid Namespace