aspnet-devexpress-dot-web-dot-aspxgantt-dot-ganttviewsettings-02327892.md
Specifies whether the Gantt control displays dependencies.
Namespace : DevExpress.Web.ASPxGantt
Assembly : DevExpress.Web.ASPxGantt.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(true)]
public bool ShowDependencies { get; set; }
<DefaultValue(True)>
Public Property ShowDependencies As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if dependencies are visible; otherwise, false.
|
You can access this nested property as listed below:
| Library | Object Type | Path to ShowDependencies |
|---|---|---|
| ASP.NET MVC Extensions | GanttSettings |
.SettingsGanttView .ShowDependencies
| | ASP.NET Web Forms Controls | ASPxGantt |
.SettingsGanttView .ShowDependencies
|
Set the ShowDependencies property to false to hide dependencies.
When dependencies are hidden, the Gantt imposes the following limitations:
The dependency rules have no effect.
Users cannot manage dependencies in the UI.
<dx:ASPxGantt ID="Gantt" runat="server" ClientInstanceName="clientGantt"... >
<SettingsGanttView ShowDependencies="false"/>
<!--...-->
</dx:ASPxGantt>
See Also