Skip to main content

BootstrapGridViewCommandButtonsSettings.CancelButton Property

Gets the Cancel command button’s settings.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[PersistenceMode(PersistenceMode.InnerProperty)]
public BootstrapGridViewCommandButtonSettings CancelButton { get; }

Property Value

Type Description
BootstrapGridViewCommandButtonSettings

A BootstrapGridViewCommandButtonSettings object that specifies the button’s settings.

Property Paths

You can access this nested property as listed below:

Object Type Path to CancelButton
BootstrapGridView
.SettingsCommandButton .CancelButton

Remarks

The Cancel button discards any changes made to the current data row and switches the Grid View 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