Back to Devexpress

TimelineBar.ClearTasks() Method

windowsforms-devexpress-dot-xtragantt-dot-timeline-dot-timelinebar-ece9d07b.md

latest1.7 KB
Original Source

TimelineBar.ClearTasks() Method

Hides all tasks displayed on the timeline bar.

Namespace : DevExpress.XtraGantt.TimeLine

Assembly : DevExpress.XtraGantt.v25.2.dll

NuGet Package : DevExpress.Win.Gantt

Declaration

csharp
public void ClearTasks()
vb
Public Sub ClearTasks

Remarks

The ClearTasks method clears the TimelineBar.Nodes collection and hides all tasks displayed on the timeline bar.

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

See Also

RemoveTask

RemoveSelectedTasks()

AddTask

AddTaskToTimeline

TimelineBar Class

TimelineBar Members

DevExpress.XtraGantt.TimeLine Namespace