Sdílet prostřednictvím


CalendarDatePicker.CalendarViewStyle Property

Definition

Gets or sets the Style associated with the control's internal CalendarView object.

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>

Property Value

The current style of the CalendarView object.

Applies to