BootstrapGridViewCommandButtonsSettings.NewButton Property
Gets the New command button’s settings.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.1.dll
NuGet Package: DevExpress.Web.Bootstrap
Declaration
[PersistenceMode(PersistenceMode.InnerProperty)]
public BootstrapGridViewCommandButtonSettings NewButton { get; }
Property Value
Type | Description |
---|---|
BootstrapGridViewCommandButtonSettings | A BootstrapGridViewCommandButtonSettings object that specifies the button’s settings. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to NewButton |
---|---|
BootstrapGridView |
|
Remarks
The New button creates a new data row. Use the NewButton property to specify the button’s image, caption and type. The button’s visibility in a column is specified by the GridViewCommandColumn.ShowNewButton property. The New button can be displayed in a command column header if the GridViewCommandColumn.ShowNewButtonInHeader property is set to true.
See Also