Back to Devexpress

GanttShowDependenciesToolbarItem Class

aspnet-devexpress-dot-web-dot-aspxgantt-35a50122.md

latest3.0 KB
Original Source

GanttShowDependenciesToolbarItem Class

A toolbar item that shows or hides dependencies.

Namespace : DevExpress.Web.ASPxGantt

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

NuGet Package : DevExpress.Web

Declaration

csharp
public class GanttShowDependenciesToolbarItem :
    GanttDefaultToolbarItem
vb
Public Class GanttShowDependenciesToolbarItem
    Inherits GanttDefaultToolbarItem

Remarks

Create a GanttShowDependenciesToolbarItem 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 dependencies.

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

When dependencies are hidden, the Gantt imposes the following limitations:

  • The dependency rules have no effect.

  • Users cannot manage dependencies in the UI.

Examples

Implements

IStateManager

IPropertiesOwner

IExpressionsAccessor

IEnumerable

IHierarchyData

Inheritance

Object StateManager CollectionItem MenuItem GanttToolbarItemBase GanttDefaultToolbarItem GanttShowDependenciesToolbarItem

See Also

GanttShowDependenciesToolbarItem Members

DevExpress.Web.ASPxGantt Namespace