Skip to main content

GanttToolbarBuilder.Items(IEnumerable<GanttToolbarItem>) Method

Configures toolbar items' settings. Mirrors the client-side items option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public GanttToolbarBuilder Items(
    IEnumerable<GanttToolbarItem> value
)

Parameters

Name Type Description
value IEnumerable<GanttToolbarItem>

The option value.

Returns

Type Description
GanttToolbarBuilder

A reference to this instance after the method is called.

Remarks

@(Html.DevExtreme().Gantt()
    .Toolbar(toolbar => {
        toolbar.Items(items => items
            .Items(new[] {GanttToolbarItem.Undo})
            //...
        }
    }
    //...
)
See Also