共用方式為


CalendarDatePicker.FirstDayOfWeek 屬性

定義

取得或設定值,這個值表示選擇器 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"/>

屬性值

列舉值,指出哪一天會顯示為一周的第一天。

備註

此屬性會影響 CalendarDatePicker的內部 CalendarView。 如需詳細資訊,請參閱 CalendarView.FirstDayOfWeek

適用於

另請參閱