ReportTimelineView.VisibleIntervalColumnCount Property

Gets or sets the number of sections in which the group of intervals specified by the ReportTimelineView.VisibleIntervalCount is split.

Namespace: DevExpress.XtraScheduler.Reporting

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

Declaration

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

Property Value

Type Default Description
Int32

1

An integer, specifying the number of sections.

Remarks

The SchedulerPrintAdapter.TimeInterval, specified for the print adapter that provides data for the ReportTimelineView is rendered into several groups. Each contains 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