Share via


CalendarView.TodayPressedBackground 屬性

定義

取得或設定筆刷,這個筆刷會在按下時提供目前日期的背景。

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

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

屬性值

筆刷,提供按下目前日期的背景。

適用於