All docs
V20.2
21.2
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
A newer version of this page is available. Switch to the current version.

GanttCollapseAllToolbarItem Class

A toolbar item that collapses all tasks.

Namespace: DevExpress.Web.ASPxGantt

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

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>

Run Demo: (Web Forms) Gantt Toolbar

Run Demo: (MVC) Gantt Toolbar

Examples

See Also