Skip to main content
All docs
V23.2

GanttControl.RemoveTaskFromTimeline(GanttControlNode) Method

Hides the specified task from the timeline.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v23.2.dll

NuGet Package: DevExpress.Win.Gantt

Declaration

public void RemoveTaskFromTimeline(
    GanttControlNode node
)

Parameters

Name Type Description
node GanttControlNode

The task.

Remarks

// Hides the focused task from the timeline.
ganttControl1.RemoveTaskFromTimeline(ganttControl1.FocusedNode as GanttControlNode);

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

See Also