Skip to main content
All docs
V24.1

GanttShowResourcesToolbarItem Class

A toolbar item that shows or hides task resources.

Namespace: DevExpress.Web.ASPxGantt

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

NuGet Package: DevExpress.Web

Declaration

public class GanttShowResourcesToolbarItem :
    GanttDefaultToolbarItem

Remarks

Create a GanttShowResourcesToolbarItem class instance and add it to the Items collection whose elements the Gantt displays in the toolbar. Users can click this item to show or hide task resources.

<dx:ASPxGantt ID="Gantt" runat="server" ClientInstanceName="clientGantt" ...>
    <SettingsToolbar>
        <Items>
            <dx:GanttShowResourcesToolbarItem Text="Show Resources" />
            <!--...-->
        </Items>
    </SettingsToolbar>s
    <!--...-->
<dx:ASPxGantt />

Show Resources

Run Demo: (Web Forms) Gantt Toolbar Run Demo: (MVC) Gantt Toolbar

Examples

See Also