CalendarDatePicker.FirstDayOfWeek 属性

定义

获取或设置一个值,该值指示哪个日期在选取器日历 视图中显示为一周的第一天。

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"/>

属性值

枚举的一个值,该值指示哪一天显示为一周的第一天。

注解

此属性影响 CalendarDatePicker 的内部 CalendarView。 有关详细信息,请参阅 CalendarView.FirstDayOfWeek

适用于

另请参阅