ASPxGridViewCommandButtonSettings.SelectButton Property
Gets the Select command button‘s settings.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
GridViewCommandButtonSettings | A GridViewCommandButtonSettings object that specifies the button’s settings. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to SelectButton |
---|---|---|
ASP.NET Web Forms Controls | ASPxGridView |
|
GridViewProperties |
|
|
ASP.NET MVC Extensions | GridViewSettings |
|
MVCxGridViewProperties |
|
Remarks
The Select button allows data rows to be selected. Use the SelectButton
property to specify the button’s image, caption and type. The button’s visibility in a column is specified by the GridViewCommandColumn.ShowSelectButton property.
<dx:ASPxGridView ID="ASPxGridView1" runat="server" >
<Columns>
<dx:GridViewCommandColumn ShowSelectButton="true" />
<%--...--%>
</Columns>
<SettingsCommandButton>
<SelectButton RenderMode="Outline" />
</SettingsCommandButton>
</dx:ASPxGridView>
Set the GridViewCommandColumn.ShowSelectCheckbox property to true
to display check boxes that allow selecting/deselecting rows.
See Also