Skip to main content
JS

GanttToolbarItem Enum

Lists standard toolbar items.

Namespace: DevExtreme.AspNet.Mvc

Assembly: DevExtreme.AspNet.Core.dll

Declaration

[JsonConverter(typeof(StringEnumConverter))]
public enum GanttToolbarItem

Members

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.

Remarks

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