CalendarView.TodayBackground 属性

定义

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

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

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

属性值

提供日历中当前日期的背景的画笔。

适用于