Back to Devexpress

ASPxGantt.SettingsToolbar Property

aspnet-devexpress-dot-web-dot-aspxgantt-dot-aspxgantt-3cdad30a.md

latest3.9 KB
Original Source

ASPxGantt.SettingsToolbar Property

Accesses the toolbar settings.

Namespace : DevExpress.Web.ASPxGantt

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

NuGet Package : DevExpress.Web

Declaration

csharp
public GanttToolbarSettings SettingsToolbar { get; }
vb
Public ReadOnly Property SettingsToolbar As GanttToolbarSettings

Property Value

TypeDescription
GanttToolbarSettings

The toolbar settings.

|

Remarks

The ASPxGantt control allows you to display the most frequently used commands in the toolbar. Use the Visible property to show or hide the toolbar.

The toolbar has a set of predefined items and supports custom items. Use the Items collection to access toolbar items.

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.

|

aspx
<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

Examples

See Also

ASPxGantt - 'How To' Examples

ASPxGantt Class

ASPxGantt Members

DevExpress.Web.ASPxGantt Namespace