Dela via


CalendarView.TodayForeground Property

Definition

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

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

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

Property Value

A brush that provides the foreground of the calendar item for the current date.

Applies to