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 对象的当前样式。

适用于