Skip to main content
A newer version of this page is available. .
Tab

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.v19.2.dll

Declaration

[Obsolete("Use the AllowSelectByRowClick property instead.")]
[DefaultValue(false)]
public bool AllowMultiSelection { get; set; }

Property Value

Type Default Description
Boolean **false**

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 Type Path 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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowMultiSelection property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also