GanttControl.FocusedTimelineBar Property
In This Article
Gets or sets the focused timeline bar.
Namespace: DevExpress.XtraGantt
Assembly: DevExpress.XtraGantt.v24.2.dll
NuGet Package: DevExpress.Win.Gantt
#Declaration
[Browsable(false)]
public TimelineBar FocusedTimelineBar { get; set; }
#Property Value
Type | Description |
---|---|
Timeline |
The focused timeline bar. |
#Remarks
The Gantt control holds its timeline bars in the TimelineBars collection.
The following example demonstrates how to create a timeline bar, display and focus it on the timeline.
TimelineBar timelineBar = ganttControl1.AddTimelineBar();
ganttControl1.FocusedTimelineBar = timelineBar;
Read the following topic for detailed information and examples: Timeline.
See Also