aspnet-devexpress-dot-web-dot-aspxgridviewbehaviorsettings-a154bb66.md
Use the AllowSelectByRowClick property instead.
Gets or sets whether end-users can select multiple data rows by clicking them.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(false)]
[Obsolete("Use the AllowSelectByRowClick property instead.")]
public bool AllowMultiSelection { get; set; }
<Obsolete("Use the AllowSelectByRowClick property instead.")>
<DefaultValue(False)>
Public Property AllowMultiSelection As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true to allow end-users select multiple data rows by clicking them; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to AllowMultiSelection |
|---|---|
| ASPxGridView |
.SettingsBehavior .AllowMultiSelection
| | GridViewProperties |
.SettingsBehavior .AllowMultiSelection
|
If the AllowMultiSelection option is enabled, end-users can select multiple data rows by clicking them. Clicking a row while holding the CTRL key toggles the row’s selected state, preserving the previous selection. To select rows between the clicked row and the previously focused row, click a row while holding the SHIFT key. In this instance, the previous selection is cleared.
To learn more, see Selection.
See Also
ASPxGridViewBehaviorSettings Class