ASPxGridViewCommandButtonSettings.CancelButton Property
Gets the Cancel command button‘s settings.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
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 Web Forms Controls | ASPxGridView |
|
GridViewProperties |
|
|
ASP.NET MVC Extensions | GridViewSettings |
|
MVCxGridViewProperties |
|
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