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

ASPxVerticalGridCommandButtonSettings.NewButton Property

Gets the New command button‘s settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public VerticalGridCommandButtonSettings NewButton { 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 NewButton
ASPxVerticalGrid
MVCxVerticalGrid
VerticalGridSettings
VerticalGridSettings<ColumnType>

Remarks

The New button creates a new record. Use the NewButton property to specify the button’s image, caption and type. The button’s visibility in a command row is specified by the VerticalGridCommandRow.ShowNewButton property. To display the New button in a command row header, use the VerticalGridCommandRow.ShowNewButtonInHeader property.

Note

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

See Also