Skip to main content
A newer version of this page is available. .
Tab

ASPxGridViewCommandButtonSettings.CancelButton Property

Gets the Cancel command button‘s settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public GridViewCommandButtonSettings CancelButton { 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 CancelButton
ASP.NET Controls and MVC Extensions ASPxGridView
.SettingsCommandButton .CancelButton
GridViewProperties
.SettingsCommandButton .CancelButton
ASP.NET Bootstrap Controls BootstrapGridView
.SettingsCommandButton .CancelButton
ASP.NET MVC Extensions GridViewSettings
.SettingsCommandButton .CancelButton
GridViewSettings<RowType>
.SettingsCommandButton .CancelButton
MVCxGridView
.SettingsCommandButton .CancelButton
MVCxGridViewProperties
.SettingsCommandButton .CancelButton

Remarks

The Cancel button discards any changes made to the current data row and switches the ASPxGridView to browse mode. Use the CancelButton property to specify the button’s image, caption and type. The button’s visibility in a column is specified by the GridViewCommandColumn.ShowCancelButton property.

See Also