ToolbarItemFactory.Button() Method
Creates a Button control that represents a toolbar item.
Namespace: DevExtreme.AspNet.Mvc.Factories
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public ButtonBuilder Button()
Returns
Type | Description |
---|---|
ButtonBuilder | An instance of ButtonBuilder. |
Remarks
@(Html.DevExtreme().Toolbar()
.Items(items => {
items.Add()
.Widget(w => w.Button()
// call methods in a chain to customize the control
);
})
)
See Also