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