CalendarView.TodayForeground 属性

定义

获取或设置一个画笔,该画笔提供当前日期的日历项的前景。

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>

属性值

为当前日期提供日历项前景的画笔。

适用于