aspnet-devexpress-dot-web-dot-aspxcardviewcommandbuttonsettings-c1cfc681.md
Gets the Delete command button‘s settings.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public CardViewCommandButtonSettings DeleteButton { get; }
Public ReadOnly Property DeleteButton As CardViewCommandButtonSettings
| Type | Description |
|---|---|
| CardViewCommandButtonSettings |
A CardViewCommandButtonSettings object that specifies the button’s settings.
|
You can access this nested property as listed below:
| Library | Object Type | Path to DeleteButton |
|---|---|---|
| ASP.NET MVC Extensions | CardViewSettings |
.SettingsCommandButton .DeleteButton
| | ASP.NET Web Forms Controls | ASPxCardView |
.SettingsCommandButton .DeleteButton
|
The Delete button deletes the current card. Use the DeleteButton property to specify the button’s image, caption and type. The button visibility is specified by the CardViewCommandLayoutItem.ShowDeleteButton property.
Note
Specify the ASPxGridBase.KeyFieldName property when you add a new and delete an existing card.
See Also
ASPxCardViewCommandButtonSettings Class