ReportTimelineView.VisibleIntervalCount Property

Gets or sets the number of intervals in a group.

Namespace: DevExpress.XtraScheduler.Reporting

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

Declaration

[DefaultValue(10)]
[XtraSerializableProperty]
public int VisibleIntervalCount { get; set; }
<DefaultValue(10)>
<XtraSerializableProperty>
Public Property VisibleIntervalCount As Integer

Property Value

Type Default Description
Int32

10

An integer representing a number of days.

Remarks

The SchedulerPrintAdapter.TimeInterval specified for the print adapter, which provides data for the ReportTimelineView, is rendered into several groups, each containing the ReportTimelineView.VisibleIntervalCount items. Each group is split into sections with no more than the number of ReportTimelineView.VisibleIntervalColumnCount intervals in a section. The interval corresponds to the base scale of the Timeline View (use the ReportTimelineView.GetBaseTimeScale method to access the base scale).

For example, if the VisibleIntervalCount is 7, the IntervalDayColumnCount is 3, the TimeInterval includes 14 days, and the most detailed enabled time scale of the timeline is the TimeScaleDay, the columns, which represent days, are arranged in the following way: 2-2-3-2-2-3. This order corresponds to the default value of the ReportViewBase.ColumnArrangement property, which is ColumnArrangementMode.Ascending. If the ColumnArrangementMode is ColumnArrangementMode.Descending, then the sequence will be 3-2-2-3-2-2.

See Also