CalendarView.TodayDisabledBackground 属性

定义

获取或设置一个画笔,该画笔在禁用时提供当前日期的背景。

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

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

属性值

提供禁用当前日期的背景的画笔。

Windows 要求

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

适用于