wpf-devexpress-dot-xpf-dot-scheduling-dot-timelineview-41d727a0.md
Gets or sets the number of time intervals displayed in the timeline view. This is a dependency property.
Namespace : DevExpress.Xpf.Scheduling
Assembly : DevExpress.Xpf.Scheduling.v25.2.dll
NuGet Package : DevExpress.Wpf.Scheduling
public int IntervalCount { get; set; }
Public Property IntervalCount As Integer
| Type | Description |
|---|---|
| Int32 |
An integer value that specifies how many time intervals are displayed at once.
|
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.
Note
The IntervalCount property is not in effect if the ViewMode property is set to Standard.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IntervalCount property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
<dxsch:SchedulerControl x:Name="scheduler" GroupType="None" Start="{Binding Start, Mode=TwoWay}" AllowAppointmentConflicts="True">
<dxsch:TimelineView x:Name="timelineView" IntervalCount="8" TimeScalesSource="{Binding TimeScales}" TimeScaleTemplateSelector="{StaticResource TimeScaleTemplateSelector}"/>
<dxsch:SchedulerControl.DataSource>
See Also