Back to Devexpress

ReportTimelineView.VisibleIntervalsSplitting Property

windowsforms-devexpress-dot-xtrascheduler-dot-reporting-dot-reporttimelineview.md

latest3.6 KB
Original Source

ReportTimelineView.VisibleIntervalsSplitting Property

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

Namespace : DevExpress.XtraScheduler.Reporting

Assembly : DevExpress.XtraScheduler.v25.2.Reporting.dll

NuGet Package : DevExpress.Win.SchedulerReporting

Declaration

csharp
[DefaultValue(VisibleIntervalsSplitting.None)]
[XtraSerializableProperty]
public VisibleIntervalsSplitting VisibleIntervalsSplitting { get; set; }
vb
<DefaultValue(VisibleIntervalsSplitting.None)>
<XtraSerializableProperty>
Public Property VisibleIntervalsSplitting As VisibleIntervalsSplitting

Property Value

TypeDefaultDescription
VisibleIntervalsSplittingNone

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

|

Available values:

NameDescription
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

VisibleIntervalCount

ReportTimelineView Class

ReportTimelineView Members

DevExpress.XtraScheduler.Reporting Namespace