Skip to main content
All docs
V24.2

GanttControl.RemoveTaskFromTimeline(GanttControlNode) Method

Hides the specified task from the timeline.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v24.2.dll

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