FormItemsFactory<T>.AddButton() Method
Adds a button item to a Form control.
Namespace: DevExtreme.AspNet.Mvc.Factories
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public FormButtonItemBuilder AddButton()
Returns
Type | Description |
---|---|
FormButtonItemBuilder | An instance of FormButtonItemBuilder. |
Remarks
@(Html.DevExtreme().Form()
.Items(items => {
items.AddButton() // call methods in a chain to configure the item
})
)
See Also