CalendarView.TodayBlackoutForeground 属性

定义

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

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

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

属性值

一个画笔,用于在无法选择当前日期时提供当前日期的前景。

Windows 要求

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

适用于