Back to Devexpress

ASPxCardViewCommandButtonSettings.NewButton Property

aspnet-devexpress-dot-web-dot-aspxcardviewcommandbuttonsettings-d576c674.md

latest2.4 KB
Original Source

ASPxCardViewCommandButtonSettings.NewButton Property

Gets the New command button‘s settings.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public CardViewCommandButtonSettings NewButton { get; }
vb
Public ReadOnly Property NewButton As CardViewCommandButtonSettings

Property Value

TypeDescription
CardViewCommandButtonSettings

A CardViewCommandButtonSettings object that specifies the button’s settings.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to NewButton
ASP.NET MVC ExtensionsCardViewSettings

.SettingsCommandButton .NewButton

| | ASP.NET Web Forms Controls | ASPxCardView |

.SettingsCommandButton .NewButton

|

Remarks

The New button creates a new card. Use the NewButton property to specify the button’s image, caption and type. The button’s visibility is specified by the CardViewCommandLayoutItem.ShowNewButton property.

Note

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

See Also

Card View

ShowNewButton

ASPxCardViewCommandButtonSettings Class

ASPxCardViewCommandButtonSettings Members

DevExpress.Web Namespace