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.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public int WeekCount { get; set; }

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