Skip to main content
A newer version of this page is available. .

GanttCollapseAllToolbarItem Class

A toolbar item that collapses all tasks.

Namespace: DevExpress.Web.ASPxGantt

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

NuGet Package: DevExpress.Web

Declaration

public class GanttCollapseAllToolbarItem :
    GanttDefaultToolbarItem

Remarks

Create the GanttCollapseAllToolbarItem class instance and add this item to the Items collection to add a toolbar item that collapses all tasks.

<dx:ASPxGantt ID="Gantt" runat="server"...>
    ...
    <SettingsToolbar>
        <Items>
            <dx:GanttCollapseAllToolbarItem Text="Collapse All" />
        </Items>
    </SettingsToolbar>
</dx:ASPxGantt>

Examples

Online Demo

Gantt - Toolbar

See Also