-api-id | -api-type |
---|---|
P:Microsoft.UI.Xaml.Controls.CalendarView.CalendarViewDayItemStyle |
winrt property |
Gets or sets the Style associated with the control's internal CalendarViewDayItem object.
<CalendarView CalendarViewDayItemStyle={StaticResource styleResourceKey}/>
- or -
<CalendarView>
<CalendarView.CalendarViewDayItemStyle>
<Style TargetType="CalendarViewDayItem">
oneOrMoreSetters
</Style>
</CalendarView.CalendarViewDayItemStyle>
</CalendarView>
- 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 CalendarViewDayItem component of the CalendarView template.