aspnetcore-devextreme-dot-aspnet-dot-mvc-1a8074ac.md
Lists standard toolbar items.
Namespace : DevExtreme.AspNet.Mvc
Assembly : DevExtreme.AspNet.Core.dll
[JsonConverter(typeof(StringEnumConverter))]
public enum GanttToolbarItem
| Name | Description |
|---|---|
Separator |
A separator between toolbar items.
|
| Undo |
Reverses the last action.
|
| Redo |
Repeats the undone action.
|
| ExpandAll |
Expands all tasks.
|
| CollapseAll |
Collapses all tasks.
|
| AddTask |
Adds a task.
|
| DeleteTask |
Deletes a task.
|
| ZoomIn |
Zooms in the chart.
|
| ZoomOut |
Zooms out the chart.
|
| TaskDetails |
Invokes the Task Details dialog.
|
| FullScreen |
Switches the Gantt to full screen mode.
|
| ResourceManager |
Invokes the Resource Manager dialog.
|
| ShowResources |
Shows or hides task resources.
|
| ShowDependencies |
Shows or hides task dependencies.
|
Use the ScaleType(GanttScaleType) method to specify a zoom level of tasks in the Gantt chart.
@(Html.DevExtreme().Gantt()
.Toolbar(toolbar => {
toolbar.Items(items => {
items.Add().Name(GanttToolbarItem.Undo);
//...
}
}
//...
)
See Also