CalendarView.TodayBlackoutBackground 属性

定义

获取或设置一个画笔,该画笔在无法选择时提供当前日期的背景。

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

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

属性值

在无法选择当前日期时提供当前日期的背景的画笔。

Windows 要求

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

适用于