Skip to main content

GanttEditingSettings.AllowDependencyDelete Property

Specifies whether users can delete dependencies.

Namespace: DevExpress.Web.ASPxGantt

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

Declaration

[DefaultValue(true)]
public bool AllowDependencyDelete { get; set; }

Property Value

Type Default Description
Boolean true

true, to allow users to delete dependencies; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowDependencyDelete
ASP.NET MVC Extensions GanttSettings
.SettingsEditing .AllowDependencyDelete
ASP.NET Web Forms Controls ASPxGantt
.SettingsEditing .AllowDependencyDelete

Remarks

The following example illustrates how to deny users from deleting dependencies.

<dx:ASPxGantt ID="Gantt" runat="server" ... >
    // ...
    <SettingsEditing AllowDependencyDelete="False" />
</dx:ASPxGantt>

Run Demo: (Web Forms) Gantt - Data Binding and Modification

Run Demo: (MVC) Gantt - Data Binding and Modification

View Example: How to edit Gantt data

Concepts

See Also