Back to Devexpress

TimelineBar.Options Property

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

latest2.0 KB
Original Source

TimelineBar.Options Property

Contains the timeline bar settings.

Namespace : DevExpress.XtraGantt.TimeLine

Assembly : DevExpress.XtraGantt.v25.2.dll

NuGet Package : DevExpress.Win.Gantt

Declaration

csharp
[DXCategory("Behavior")]
public GanttTimelineBarOptions Options { get; }
vb
<DXCategory("Behavior")>
Public ReadOnly Property Options As GanttTimelineBarOptions

Property Value

TypeDescription
DevExpress.XtraGantt.TimeLine.GanttTimelineBarOptions

An object with timeline bar settings.

|

Remarks

The date range of timeline bars matches the duration of the project. Use the TimelineBar.Options.StartDate and TimelineBar.Options.FinishDate properties to specify a custom date range for the timeline bar.

You can also use the Gantt control’s SetTimelineBarRange method to specify a custom date range for a specific timeline bar.

Users can use a context menu to specify a custom date range for the focused timeline bar.

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

See Also

SetTimelineBarRange

TimelineBar Class

TimelineBar Members

DevExpress.XtraGantt.TimeLine Namespace