Skip to main content
All docs
V25.1
  • GanttShowDependenciesToolbarItem Class

    A toolbar item that shows or hides dependencies.

    Namespace: DevExpress.Web.ASPxGantt

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

    NuGet Package: DevExpress.Web

    Declaration

    public class GanttShowDependenciesToolbarItem :
        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.

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

    Show Dependencies

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

    • The dependency rules have no effect.

    • Users cannot manage dependencies in the UI.

    Examples

    See Also