MonthView.WeekCount Property
Gets or sets the number of weeks that are simultaneously displayed in the Month View. This is a dependency property.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v22.2.dll
NuGet Package: DevExpress.Wpf.Scheduling
Declaration
Property Value
Type | Description |
---|---|
Int32 | A positive integer value specifying the number of weeks displayed in the Month view. The default is 4. |
Remarks
The WeekCount property is not in effect if the ViewMode property is set to Standard and the DisplayUnit property is set to Month.
Use the WeekCount property to specify the number of weeks simultaneously displayed in the Month view starting from the week containing the SchedulerControl.Start date.
WeekCount = 4 (Default) | WeekCount = 6 |
---|---|
![]() |
![]() |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the WeekCount 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.