GanttControl.FocusedTimelineBar Property
Gets or sets the focused timeline bar.
Namespace: DevExpress.XtraGantt
Assembly: DevExpress.XtraGantt.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
TimelineBar | 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