windowsforms-devexpress-dot-xtrascheduler-dot-dayview-0d26874c.md
Gets or sets the number of days that are simultaneously displayed within the Day View.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
[DefaultValue(1)]
[XtraSerializableProperty]
public virtual int DayCount { get; set; }
<DefaultValue(1)>
<XtraSerializableProperty>
Public Overridable Property DayCount As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 1 |
A positive integer value that specifies the number of days displayed by the View.
|
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.
The following code snippets (auto-collected from DevExpress Examples) contain references to the DayCount property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-scheduler-create-appointments-on-reminder-alert/CS/ReminderCustomActions/Form1.cs#L32
schedulerControl1.ActiveViewType = SchedulerViewType.Day;
schedulerControl1.DayView.DayCount = 2;
winforms-scheduler-customize-popup-menu/CS/PopupMenuCustomization/Form1.cs#L24
MySchedulerHelper.FillResources(schedulerStorage1, 3);
schedulerControl1.Views.DayView.DayCount = 2;
schedulerControl1.Start = DateTime.Now.Date;
winforms-scheduler-create-appointments-on-reminder-alert/VB/ReminderCustomActions/Form1.vb#L34
schedulerControl1.ActiveViewType = SchedulerViewType.Day
schedulerControl1.DayView.DayCount = 2
winforms-scheduler-customize-popup-menu/VB/PopupMenuCustomization/Form1.vb#L21
MySchedulerHelper.FillResources(schedulerStorage1, 3)
schedulerControl1.Views.DayView.DayCount = 2
schedulerControl1.Start = Date.Now.Date
See Also