Skip to main content

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


public int WeekCount { get; set; }

Property Value

Type Description

A positive integer value specifying the number of weeks displayed in the Month view. The default is 4.


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
WPFScheduler_MonthView_WeekCount4 WPFScheduler_MonthView_WeekCount6

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the WeekCount property.


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.

See Also