Skip to main content

ReportDayView.VisibleDayColumnCount Property

Gets or sets the maximum number of days in a columns in which the group of days specified by the ReportDayView.VisibleDayCount is split.

Namespace: DevExpress.XtraScheduler.Reporting

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

NuGet Package: DevExpress.Win.SchedulerReporting

Declaration

[DefaultValue(1)]
[XtraSerializableProperty]
public int VisibleDayColumnCount { get; set; }

Property Value

Type Default Description
Int32 1

An integer, specifying the number of columns.

Remarks

If the SchedulerPrintAdapter.TimeInterval specified for the print adapter which provides data for the ReportDayView consists of several days, it is rendered into several groups, each containing the ReportDayView.VisibleDayCount. Each group is split into columns with no more than the number of ReportDayView.VisibleDayColumnCount days in a column.

For example, if the VisibleDayCount is 7, the VisibleDayColumnCount is 3 and the TimeInterval includes 14 days, the days in columns 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 the ColumnArrangementMode.Ascending. If the ColumnArrangementMode is ColumnArrangementMode.Descending, then the sequence will be 3-2-2-3-2-2.

See Also