Skip to main content

TimelineView.IntervalCount Property

Gets or sets the number of time intervals displayed in the Timeline View.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

public int IntervalCount { get; set; }

#Property Value

Type Description
Int32

An integer, specifying how many time intervals are displayed at once.

#Remarks

Use the IntervalCount property to specify the number of time intervals displayed in the scheduling area. The type of interval (month, day, hour) corresponds to the most detailed enabled time scale. This scale can be accessed via the TimelineView.GetBaseTimeScale property.

#Examples

This example demonstrates how to customize the Timeline View within the SchedulerControl. To do this, it is necessary to modify the TimelineView object accessed via the SchedulerControl.TimelineView property.

#Implements

DevExpress.Scheduler.Native.IWpfTimelineViewProperties.IntervalCount
See Also