Skip to main content

GanttToolbarBuilder Class

Represents the toolbar.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public class GanttToolbarBuilder :
    OptionsOwnerBuilder

Remarks

Do not instantiate this class explicitly. A new GanttToolbarBuilder class instance is created when you call the Toolbar(Action<GanttToolbarBuilder>) method.

@(Html.DevExtreme().Gantt()
    .Toolbar(toolbar => {
        toolbar.Items(items => {
            items.Add().Name(GanttToolbarItem.Undo);
            //...
        }
    }
    //...
)

Inheritance

Object
OptionsOwnerBuilder
GanttToolbarBuilder
See Also