aspnet-devexpress-dot-web-9006a8a8.md
Lists values that specify the Select All check box visibility and selection mode.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public enum GridViewSelectAllCheckBoxMode
Public Enum GridViewSelectAllCheckBoxMode
| Name | Description |
|---|---|
None |
The Select All check box is not displayed.
|
| Page |
The Select All check box selects and deselects all rows on the current grid page.
|
| AllPages |
The Select All check box selects and deselects all grid rows (on all grid pages).
|
The following properties accept/return GridViewSelectAllCheckBoxMode values:
The GridViewSelectAllCheckBoxMode property defines the type of the Select All selection mode.
When the AllowSelectSingleRowOnly property is set to true, the GridViewSelectAllCheckBoxMode property is not in effect.
Run Demo: ASPxGridView - Select All Rows
<dx:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False" KeyFieldName="EmployeeID">
<Columns>
<dx:GridViewCommandColumn VisibleIndex="0" ShowSelectCheckbox="true" SelectAllCheckboxMode="Page"/>
<%--...--%>
</Columns>
</dx:ASPxGridView>
See Also