Skip to main content

DayView.DayCount Property

Gets or sets the number of days that are simultaneously displayed within the Day View.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

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

#Property Value

Type Default Description
Int32

1

A positive integer value that specifies the number of days displayed by the Day View.

#Remarks

Use the DayCount property to specify the number of days simultaneously displayed within the Day View starting from the date set for the SchedulerControl.Start property.

DayCount = 2 DayCount = 4
DXScheduler_DayCount2 DXScheduler_DayCount4

#Examples

This example demonstrates how to customize the Day View within the SchedulerControl. To do this, it is necessary to modify the DayView object accessed via the SchedulerControl.DayView property.

See Also