GanttToolbarBuilder.Items(IEnumerable<GanttToolbarItem>) Method
In This Article
Configures toolbar items' settings. Mirrors the client-side items option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public GanttToolbarBuilder Items(
IEnumerable<GanttToolbarItem> value
)
#Parameters
Name | Type | Description |
---|---|---|
value | IEnumerable<Gantt |
The option value. |
#Returns
Type | Description |
---|---|
Gantt |
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