-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.CalendarDatePicker.CalendarViewStyle |
winrt property |
Gets or sets the Style associated with the control's internal CalendarView object.
<CalendarDatePicker CalendarViewStyle={StaticResource styleResourceKey}/>
- or -
<CalendarDatePicker>
<CalendarDatePicker.CalendarViewStyle>
<Style TargetType="CalendarView">
oneOrMoreSetters
</Style>
</CalendarDatePicker.CalendarViewStyle>
</CalendarDatePicker>
- styleResourceKey
- styleResourceKeyThe key that identifies the style being requested. The key refers to an existing resource in a ResourceDictionary.
- oneOrMoreSetters
- oneOrMoreSettersOne or more Setter elements with Property attributes that target the dependency properties of the CalendarView component of the CalendarDatePicker template.