Dela via


CalendarView.CalendarViewDayItemStyle Property

Definition

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

public:
 property Style ^ CalendarViewDayItemStyle { Style ^ get(); void set(Style ^ value); };
Style CalendarViewDayItemStyle();

void CalendarViewDayItemStyle(Style value);
public Style CalendarViewDayItemStyle { get; set; }
var style = calendarView.calendarViewDayItemStyle;
calendarView.calendarViewDayItemStyle = style;
Public Property CalendarViewDayItemStyle As Style
<CalendarView CalendarViewDayItemStyle={StaticResource styleResourceKey}/>
- or -
<CalendarView>
  <CalendarView.CalendarViewDayItemStyle>
    <Style TargetType="CalendarViewDayItem">
      oneOrMoreSetters
    </Style>
  </CalendarView.CalendarViewDayItemStyle>
</CalendarView>

Property Value

The Style associated with the control's internal CalendarViewDayItem object.

Applies to

See also