ASPxGridViewCommandButtonSettings.SelectButton Property
In This Article
Gets the Select command button‘s settings.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public GridViewCommandButtonSettings SelectButton { get; }
#Property Value
Type | Description |
---|---|
Grid |
A Grid |
#Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Select |
---|---|---|
ASP. |
Grid |
|
MVCx |
|
|
ASP. |
ASPx |
|
Grid |
|
#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