Skip to main content
Tab

ASPxGridViewCommandButtonSettings.SelectButton Property

Gets the Select command button‘s settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public GridViewCommandButtonSettings SelectButton { get; }

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 MVC Extensions GridViewSettings
.SettingsCommandButton .SelectButton
MVCxGridViewProperties
.SettingsCommandButton .SelectButton
ASP.NET Web Forms Controls ASPxGridView
.SettingsCommandButton .SelectButton
GridViewProperties
.SettingsCommandButton .SelectButton

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