Back to Devexpress

ToolbarItemFactory Class

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-factories-8710fb73.md

latest2.4 KB
Original Source

ToolbarItemFactory Class

Provides methods that allow you to configure a control that represents a toolbar item.

Namespace : DevExtreme.AspNet.Mvc.Factories

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public class ToolbarItemFactory :
    AbstractWidgetFactory

Remarks

Do not instantiate this class explicitly. A new ToolbarItemFactory class instance is created when you call one of the following methods:

cshtml
@Html.DevExtreme().Toolbar()
    .Items(items => {
        items.Add()
            .Widget(w => w.Button()
                // call methods in a chain to customize the control
            );
    })
)

Inheritance

Object AbstractWidgetFactory ToolbarItemFactory

See Also

ToolbarItemFactory Members

DevExtreme.AspNet.Mvc.Factories Namespace