Back to Devexpress

ASPxGridViewCommandButtonSettings.SelectButton Property

aspnet-devexpress-dot-web-dot-aspxgridviewcommandbuttonsettings-a4f63d8a.md

latest3.2 KB
Original Source

ASPxGridViewCommandButtonSettings.SelectButton Property

Gets the Select command button‘s settings.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public GridViewCommandButtonSettings SelectButton { get; }
vb
Public ReadOnly Property SelectButton As GridViewCommandButtonSettings

Property Value

TypeDescription
GridViewCommandButtonSettings

A GridViewCommandButtonSettings object that specifies the button’s settings.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to SelectButton
ASP.NET MVC ExtensionsGridViewSettings

.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.

aspx
<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

Grid View

ShowSelectCheckbox

ShowSelectButton

ASPxGridViewCommandButtonSettings Class

ASPxGridViewCommandButtonSettings Members

DevExpress.Web Namespace