Share via


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>

屬性值

筆刷,提供行事曆中目前日期的背景。

適用於