Back to Devexpress

GanttShowResourcesToolbarItem Class

aspnet-devexpress-dot-web-dot-aspxgantt-b6aaa175.md

latest2.9 KB
Original Source

GanttShowResourcesToolbarItem Class

A toolbar item that shows or hides task resources.

Namespace : DevExpress.Web.ASPxGantt

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

NuGet Package : DevExpress.Web

Declaration

csharp
public class GanttShowResourcesToolbarItem :
    GanttDefaultToolbarItem
vb
Public Class GanttShowResourcesToolbarItem
    Inherits 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.

aspx
<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

Examples

Implements

IStateManager

IPropertiesOwner

IExpressionsAccessor

IEnumerable

IHierarchyData

Inheritance

Object StateManager CollectionItem MenuItem GanttToolbarItemBase GanttDefaultToolbarItem GanttShowResourcesToolbarItem

See Also

GanttShowResourcesToolbarItem Members

DevExpress.Web.ASPxGantt Namespace