Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.36 KB

calendarview_calendarviewdayitemstyle.md

File metadata and controls

42 lines (32 loc) · 1.36 KB
-api-id -api-type
P:Microsoft.UI.Xaml.Controls.CalendarView.CalendarViewDayItemStyle
winrt property

Microsoft.UI.Xaml.Controls.CalendarView.CalendarViewDayItemStyle

-description

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

-xaml-syntax

<CalendarView CalendarViewDayItemStyle={StaticResource styleResourceKey}/>
- or -
<CalendarView>
  <CalendarView.CalendarViewDayItemStyle>
    <Style TargetType="CalendarViewDayItem">
      oneOrMoreSetters
    </Style>
  </CalendarView.CalendarViewDayItemStyle>
</CalendarView>

-xaml-values

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.
## -property-value The [Style](../microsoft.ui.xaml/style.md) associated with the control's internal [CalendarViewDayItem](calendarviewdayitem.md) object.

-remarks

-examples

-see-also

CalendarViewDayItem