aspnet-devexpress-dot-web-dot-aspxgantt-b6aaa175.md
A toolbar item that shows or hides task resources.
Namespace : DevExpress.Web.ASPxGantt
Assembly : DevExpress.Web.ASPxGantt.v25.2.dll
NuGet Package : DevExpress.Web
public class GanttShowResourcesToolbarItem :
GanttDefaultToolbarItem
Public Class GanttShowResourcesToolbarItem
Inherits GanttDefaultToolbarItem
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 />
Run Demo: (Web Forms) Gantt ToolbarRun Demo: (MVC) Gantt Toolbar
Object StateManager CollectionItem MenuItem GanttToolbarItemBase GanttDefaultToolbarItem GanttShowResourcesToolbarItem
See Also