Skip to main content
A newer version of this page is available. .
All docs
V23.1

TimelineBar.RemoveTask(GanttControlNode) Method

Hides the specified task from the timeline bar.

Namespace: DevExpress.XtraGantt.TimeLine

Assembly: DevExpress.XtraGantt.v23.1.dll

NuGet Package: DevExpress.Win.Gantt

Declaration

public void RemoveTask(
    GanttControlNode node
)

Parameters

Name Type Description
node GanttControlNode

The task.

Remarks

The RemoveTask method removes the specified task from the TimelineBar.Nodes collection and hides the task from the timeline bar.

// Hides the first task from the timeline bar.
timelineBar.RemoveTask(timelineBar.Nodes[0]);

Read the following topic for detailed information and examples: Timeline.

See Also