Share via


CalendarView.CalendarItemBackground 屬性

定義

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

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

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

屬性值

提供行事歷專案背景的筆刷。

適用於

另請參閱