Tab

ASPxGridViewCommandButtonSettings.DeleteButton Property

Gets the Delete command button's settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

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

Remarks

The Delete button deletes the current data row. Use the DeleteButton property to specify the button's image, caption and type. The button visibility in a column is specified by the GridViewCommandColumn.ShowDeleteButton property.

NOTE

Specify the ASPxGridBase.KeyFieldName property when you add a new and delete an existing grid row.

See Also