CalendarView.NumberOfWeeksInView Property

Definition

Gets or sets the number of weeks shown in the calendar view.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.CalendarView.NumberOfWeeksInView.

public:
 property int NumberOfWeeksInView { int get(); void set(int value); };
int NumberOfWeeksInView();

void NumberOfWeeksInView(int value);
public int NumberOfWeeksInView { get; set; }
var int32 = calendarView.numberOfWeeksInView;
calendarView.numberOfWeeksInView = int32;
Public Property NumberOfWeeksInView As Integer
<CalendarView NumberOfWeeksInView="int"/>

Property Value

Int32

int

The number of weeks shown in the calendar view. The default is 6.

Applies to