Skip to main content
A newer version of this page is available. .

GanttView.DeleteTask(TreeListNode) Method

Deletes a Gantt task and runs scheduling of all the dependent tasks.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v20.1.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Gantt, DevExpress.Wpf.Gantt

Declaration

public void DeleteTask(
    TreeListNode node
)

Parameters

Name Type Description
node TreeListNode

A tree list node associated with the deleted Gantt task.

Remarks

Use the DeleteTask method to delete a Gantt task and re-schedule all the dependent tasks.

See Also