Skip to main content
All docs
V25.1
  • GanttToolbarSettings.Items Property

    Provides access to the toolbar items collection.

    Namespace: DevExpress.Web.ASPxGantt

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

    NuGet Package: DevExpress.Web

    Declaration

    public GanttToolbarItemCollection Items { get; }

    Property Value

    Type Description
    GanttToolbarItemCollection

    The toolbar items collection.

    Property Paths

    You can access this nested property as listed below:

    Library Object Type Path to Items
    ASP.NET MVC Extensions GanttSettings
    .SettingsToolbar .Items
    ASP.NET Web Forms Controls ASPxGantt
    .SettingsToolbar .Items

    Remarks

    Use the Items property to access and manage toolbar items.

    Gantt - Toolbar

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

    Run Demo: (Web Forms) Gantt Toolbar

    Run Demo: (MVC) Gantt Toolbar

    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

    See Also