Skip to main content

ReportTimelineView.VisibleIntervalsSplitting Property

Gets or sets the time interval to which columns are aligned on pages.

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v24.1.Reporting.dll

NuGet Package: DevExpress.Win.SchedulerReporting

Declaration

[DefaultValue(VisibleIntervalsSplitting.None)]
[XtraSerializableProperty]
public VisibleIntervalsSplitting VisibleIntervalsSplitting { get; set; }

Property Value

Type Default Description
VisibleIntervalsSplitting None

A VisibleIntervalsSplitting enumeration member specifying a which span to that the timeline is split.

Available values:

Name Description
None

Specifies that no special interval partitioning and aligning is required.

Hour

Specifies the time span with duration equal to one hour.

Day

Specifies the time span with duration equal to one day.

Week

Specifies the time span with duration equal to one week.

Month

Specifies the time span with duration equal to one month.

Quarter

Specifies the time span with duration equal to one quarter.

Year

Specifies the time span with duration equal to one year.

Remarks

Specify the VisibleIntervalsSplitting to set how the timeline is partitioned along the pages. The algorithm maps timeline columns to report pages, so that the specified time span occupies a whole number of pages.

Let’s take a timeline with the day columns corresponding to the following days of week:

Sat, Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun,Mon

Set the ReportTimelineView.VisibleIntervalCount to 7 and the VisibleIntervalsSplitting - to the VisibleIntervalsSplitting.Week. The columns will be laid out as follows:

Sat | Sun,Mon,Tue,Wed,Thu,Fri,Sat | Sun,Mon

since the SchedulerControl.FirstDayOfWeek is the FirstDayOfWeek.Sunday.

If the ReportTimelineView.VisibleIntervalCount is set to 4, the time interval is partitioned as folllows:

Sat | Sun,Mon,Tue,Wed | Thu,Fri,Sat | Sun,Mon

The algorithm attempts to print each week on a separate page, if possible. So the timeline is split aligned to week borders.

See Also