Tab

ASPxCardViewCommandButtonSettings.NewButton Property

Gets the New command button‘s settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public CardViewCommandButtonSettings NewButton { get; }

Property Value

Type Description
CardViewCommandButtonSettings

A CardViewCommandButtonSettings object that specifies the button’s settings.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to NewButton
ASP.NET Bootstrap Controls BootstrapCardView
ASP.NET MVC Extensions CardViewSettings
CardViewSettings<CardType>
MVCxCardView
ASP.NET Web Forms Controls ASPxCardView

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