Dela via


CalendarDatePicker.FirstDayOfWeek Property

Definition

Gets or sets a value that indicates which day is shown as the first day of the week in the picker's CalendarView.

public:
 property DayOfWeek FirstDayOfWeek { DayOfWeek get(); void set(DayOfWeek value); };
DayOfWeek FirstDayOfWeek();

void FirstDayOfWeek(DayOfWeek value);
public DayOfWeek FirstDayOfWeek { get; set; }
var dayOfWeek = calendarDatePicker.firstDayOfWeek;
calendarDatePicker.firstDayOfWeek = dayOfWeek;
Public Property FirstDayOfWeek As DayOfWeek
<CalendarDatePicker FirstDayOfWeek="dayOfWeekMemberName"/>

Property Value

A value of the enumeration that indicates which day is shown as the first day of the week.

Remarks

This property affects the CalendarDatePicker's internal CalendarView. For more info, see CalendarView.FirstDayOfWeek.

Applies to

See also