Back to Devexpress

ReportDayView.VisibleDayColumnCount Property

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

latest2.8 KB
Original Source

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.v25.2.Reporting.dll

NuGet Package : DevExpress.Win.SchedulerReporting

Declaration

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

Property Value

TypeDefaultDescription
Int321

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

VisibleDayCount

ColumnArrangement

ReportDayView Class

ReportDayView Members

DevExpress.XtraScheduler.Reporting Namespace