All docs
V21.2
21.2
21.1
The page you are viewing does not exist in version 21.1. This link will take you to the root page.
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

GanttShowDependenciesToolbarItem Class

A toolbar item that shows or hides dependencies.

Namespace: DevExpress.Web.ASPxGantt

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

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