All docs
V20.1
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

GanttToolbarSettings.Items Property

Provides access to the toolbar items collection.

Namespace: DevExpress.Web.ASPxGantt

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

Declaration

public GanttToolbarItemCollection Items { get; }
Public ReadOnly Property Items As GanttToolbarItemCollection

Property Value

Type Description
GanttToolbarItemCollection

The toolbar items collection.

Property Paths

You can access the GanttToolbarSettings.Items property from the following objects:

Object Type Path to Items
ASPxGantt
GanttSettings
MVCxGantt

Remarks

Use the Items property to access and manage toolbar items.

<dx:ASPxGantt ID="Gantt" runat="server"...>
    ...
    <SettingsToolbar>
        <Items>
            <dx:GanttZoomInToolbarItem Text="Zoom In" />
            <dx:GanttZoomOutToolbarItem Text="Zoom Out" />
        </Items>
    </SettingsToolbar>
</dx:ASPxGantt>

Available toolbar item types:

Toolbar Item Type

Description

GanttAddTaskToolbarItem

A toolbar item that adds 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.

GanttRedoToolbarItem

A toolbar item that repeats the undone action.

GanttRemoveTaskToolbarItem

A toolbar item that removes a task.

GanttUndoToolbarItem

A toolbar item that reverses an action.

GanttZoomInToolbarItem

A toolbar item that zooms in.

GanttCustomToolbarItem

A custom toolbar item.

GanttZoomOutToolbarItem

A toolbar item that zooms out.

Examples

Online Demo

Gantt - Toolbar

See Also