Skip to main content

ASPxGantt.CreateDefaultToolbarItems() Method

Creates the toolbar and populates it with default items.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public void CreateDefaultToolbarItems()

Remarks

The ASPxGantt allows you to display the most frequently used commands in the built-in toolbar.

Gantt - CreateDefaultToolbarItems Method

ASPxGantt1.CreateDefaultToolbarItems();
ASPxGantt1.CreateDefaultToolbarItems()

Run Demo: (Web Forms) Gantt Toolbar

Run Demo: (MVC) Gantt Toolbar

Available default toolbar items:

Toolbar Item Type

Description

GanttAddTaskToolbarItem

A toolbar item that adds a task.

GanttRemoveTaskToolbarItem

A toolbar item that removes a task.

GanttCollapseAllToolbarItem

A toolbar item that collapses all tasks.

GanttExpandAllToolbarItem

A toolbar item that expands all tasks.

GanttFullScreenToolbarItem

A toolbar item that switches the control to full screen mode.

GanttUndoToolbarItem

A toolbar item that reverses an action.

GanttRedoToolbarItem

A toolbar item that repeats the undone action.

GanttZoomInToolbarItem

A toolbar item that zooms in.

GanttZoomOutToolbarItem

A toolbar item that zooms out.

Examples

See Also