Back to Devexpress

GanttControl.RemoveTaskFromTimeline(GanttControlNode) Method

windowsforms-devexpress-dot-xtragantt-dot-ganttcontrol-dot-removetaskfromtimeline-x28-devexpress-dot-xtragantt-dot-ganttcontrolnode-x29.md

latest2.0 KB
Original Source

GanttControl.RemoveTaskFromTimeline(GanttControlNode) Method

Hides the specified task from the timeline.

Namespace : DevExpress.XtraGantt

Assembly : DevExpress.XtraGantt.v25.2.dll

NuGet Package : DevExpress.Win.Gantt

Declaration

csharp
public void RemoveTaskFromTimeline(
    GanttControlNode node
)
vb
Public Sub RemoveTaskFromTimeline(
    node As GanttControlNode
)

Parameters

NameTypeDescription
nodeGanttControlNode

The task.

|

Remarks

csharp
// Hides the focused task from the timeline.
ganttControl1.RemoveTaskFromTimeline(ganttControl1.FocusedNode as GanttControlNode);
vb
' Hides the focused task from the timeline.
ganttControl1.RemoveTaskFromTimeline(TryCast(ganttControl1.FocusedNode, GanttControlNode))

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

See Also

Timeline

RemoveSelectedTasksFromTimeline()

AddTaskToTimeline

GanttControl Class

GanttControl Members

DevExpress.XtraGantt Namespace