Skip to main content

GanttAddTaskToolbarItem Class

A toolbar item that adds a new task.

Namespace: DevExpress.Web.ASPxGantt

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

Declaration

public class GanttAddTaskToolbarItem :
    GanttDefaultToolbarItem

Remarks

Create the GanttAddTaskToolbarItem class instance and add this item to the Items collection to add a toolbar item that adds a new task.

<dx:ASPxGantt ID="Gantt" runat="server"...>
    ...
    <SettingsToolbar>
        <Items>
            <dx:GanttAddTaskToolbarItem Text="New Task" />
        </Items>
    </SettingsToolbar>
</dx:ASPxGantt>

Run Demo: (Web Forms) Gantt Toolbar

Run Demo: (MVC) Gantt Toolbar

Examples

See Also