GanttControl.RemoveTimelineBar(TimelineBar) Method
In This Article
Hides the specified timeline bar from the timeline.
Namespace: DevExpress.XtraGantt
Assembly: DevExpress.XtraGantt.v24.2.dll
NuGet Package: DevExpress.Win.Gantt
#Declaration
public void RemoveTimelineBar(
TimelineBar bar
)
#Parameters
Name | Type | Description |
---|---|---|
bar | Timeline |
The timeline bar. |
#Remarks
The RemoveTimelineBar
method removes the specified timeline bar from the TimelineBars collection and hides it from the timeline.
Note
The Remove
method does nothing if the timeline displays only one timeline bar.
Read the following topic for detailed information and examples: Timeline.
See Also