共用方式為


CalendarView.CalendarItemDisabledBackground 屬性

定義

取得或設定筆刷,提供停用之行事曆專案的背景。

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

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

屬性值

筆刷,提供停用之行事曆專案的背景。

Windows 需求

裝置系列
Windows 11 (已於 10.0.22000.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v14.0 引進)

適用於