Share via


CalendarView.CalendarItemForeground Property

Definition

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

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

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

Property Value

A brush that provides the foreground of a calendar item.

Applies to