Udostępnij za pośrednictwem


CalendarView.CalendarItemBackground Property

Definition

Gets or sets a brush that provides the background of a calendar item.

public:
 property Brush ^ CalendarItemBackground { Brush ^ get(); void set(Brush ^ value); };
Brush CalendarItemBackground();

void CalendarItemBackground(Brush value);
public Brush CalendarItemBackground { get; set; }
var brush = calendarView.calendarItemBackground;
calendarView.calendarItemBackground = brush;
Public Property CalendarItemBackground As Brush
<CalendarView CalendarItemBackground="{StaticResource resourceName}"/>
- or -
<CalendarView CalendarItemBackground="colorString"/>
- or -
<CalendarView>
  CalendarView.CalendarItemBackground>singleBrush</CalendarView.CalendarItemBackground>
</CalendarView>

Property Value

A brush that provides the background of a calendar item.

Applies to

See also