Skip to main content
Tab

ASPxGridViewCommandButtonSettings.CancelButton Property

Gets the Cancel command button‘s settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

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