Skip to main content
A newer version of this page is available. .

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

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

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.

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.

See Also