Skip to main content
Tab

ListBoxProperties.EnableSelectAll Property

Gets or sets whether selecting all items within a list box is available.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool EnableSelectAll { get; set; }

Property Value

Type Default Description
Boolean false

true, to enable the “Select All” check box in the list box; otherwise, false.

Remarks

Note that the EnableSelectAll property is in effect if the ListBoxProperties.SelectionMode property is set to ListEditSelectionMode.CheckColumn.

ASPxListBox-SelectAll

@Html.DevExpress().ListBox(
    settings => {
    ...
        settings.Properties.EnableSelectAll = true;
    ...
    }
).BindList(Model).GetHtml()

Online demo: List Box - Features

See Also