aspnet-devexpress-dot-web-dot-aspxgantt-dot-gantttoolbarsettings-f4d28a23.md
Provides access to the toolbar items collection.
Namespace : DevExpress.Web.ASPxGantt
Assembly : DevExpress.Web.ASPxGantt.v25.2.dll
NuGet Package : DevExpress.Web
public GanttToolbarItemCollection Items { get; }
Public ReadOnly Property Items As GanttToolbarItemCollection
| Type | Description |
|---|---|
| GanttToolbarItemCollection |
The toolbar items collection.
|
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
|
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>
Run Demo: (Web Forms) Gantt Toolbar
Available toolbar item types:
|
Toolbar Item Type
|
Description
| | --- | --- | |
|
A toolbar item that adds a task.
| |
|
A toolbar item that collapses all tasks.
| |
|
A toolbar item that expands all tasks.
| |
|
A toolbar item that switches the control to full screen mode.
| |
|
A toolbar item that repeats the undone action.
| |
|
A toolbar item that removes a task.
| |
|
A toolbar item that reverses an action.
| |
|
A toolbar item that zooms in.
| |
|
A custom toolbar item.
| |
|
A toolbar item that zooms out.
|
See Also