CalendarDatePicker.CalendarViewStyle Property

Definition

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

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.CalendarDatePicker.CalendarViewStyle.

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

Style

The current style of the CalendarView object.

Applies to