共用方式為


CalendarDatePicker.CalendarViewStyle 屬性

定義

取得或設定與控制項內部CalendarView物件相關聯的Style

public:
 property Style ^ CalendarViewStyle { Style ^ get(); void set(Style ^ value); };
Style CalendarViewStyle();

void CalendarViewStyle(Style value);
public Style CalendarViewStyle { get; set; }
var style = calendarDatePicker.calendarViewStyle;
calendarDatePicker.calendarViewStyle = style;
Public Property CalendarViewStyle As Style
<CalendarDatePicker CalendarViewStyle={StaticResource styleResourceKey}/>
- or -
<CalendarDatePicker>
  <CalendarDatePicker.CalendarViewStyle>
    <Style TargetType="CalendarView">
      oneOrMoreSetters
    </Style>
  </CalendarDatePicker.CalendarViewStyle>
</CalendarDatePicker>

屬性值

CalendarView物件的目前樣式。

適用於