Skip to main content
Tab

ASPxListBox.EnableSelectAll Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.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 ASPxListBox.SelectionMode property is set to ListEditSelectionMode.CheckColumn.

ASPxListBox-SelectAll

<dx:ASPxListBox ID="ASPxListBox1" runat="server" SelectionMode="CheckColumn" EnableSelectAll="true" Width="250" Height="210"
    DataSourceID="Features" ValueField="ID" ValueType="System.String" TextField="Name" Caption="Phone features">
    ...
</dx:ASPxListBox>

Online demo: List Box with Multiple Selection

See Also