Back to Devexpress

MonthView.WeekCount Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-monthview-a2cf0b9a.md

latest2.1 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public int WeekCount { get; set; }
vb
Public Property WeekCount As Integer

Property Value

TypeDescription
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

See Also

Start

MonthView Class

MonthView Members

DevExpress.Xpf.Scheduling Namespace