Skip to main content
All docs
V24.1

GanttControl.RemoveTaskFromTimeline(GanttControlNode) Method

Hides the specified task from the timeline.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v24.1.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