Back to Devexpress

ASPxGridViewBehaviorSettings.AllowMultiSelection Property

aspnet-devexpress-dot-web-dot-aspxgridviewbehaviorsettings-a154bb66.md

latest2.5 KB
Original Source

ASPxGridViewBehaviorSettings.AllowMultiSelection Property

OBSOLETE

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

Declaration

csharp
[DefaultValue(false)]
[Obsolete("Use the AllowSelectByRowClick property instead.")]
public bool AllowMultiSelection { get; set; }
vb
<Obsolete("Use the AllowSelectByRowClick property instead.")>
<DefaultValue(False)>
Public Property AllowMultiSelection As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true to allow end-users select multiple data rows by clicking them; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowMultiSelection
ASPxGridView

.SettingsBehavior .AllowMultiSelection

| | GridViewProperties |

.SettingsBehavior .AllowMultiSelection

|

Remarks

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

Grid View

ASPxGridViewBehaviorSettings Class

ASPxGridViewBehaviorSettings Members

DevExpress.Web Namespace