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>

属性值

提供按下当前日期的背景的画笔。

Windows 要求

设备系列
Windows 11 (在 10.0.22000.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v14.0 中引入)

适用于