Dela via


CalendarView.NumberOfWeeksInView Property

Definition

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

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