共用方式為


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 引進)

適用於