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

ASPxVerticalGridCommandButtonSettings.DeleteButton Property

Gets the Delete command button‘s settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public VerticalGridCommandButtonSettings DeleteButton { get; }

Property Value

Type Description
VerticalGridCommandButtonSettings

A VerticalGridCommandButtonSettings object that specifies the button’s settings.

Property Paths

You can access this nested property as listed below:

Object Type Path to DeleteButton
ASPxVerticalGrid
.SettingsCommandButton.DeleteButton
MVCxVerticalGrid
.SettingsCommandButton.DeleteButton
VerticalGridSettings
.SettingsCommandButton.DeleteButton
VerticalGridSettings<ColumnType>
.SettingsCommandButton.DeleteButton

Remarks

The Delete button deletes the current record. Use the DeleteButton property to specify the button’s image, caption and type. The button visibility in a row is specified by the VerticalGridCommandRow.ShowDeleteButton property.

Note

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

See Also