共用方式為


CalendarView.CalendarItemPressedBackground 屬性

定義

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

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

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

屬性值

筆刷,提供按下之行事曆專案的背景。

Windows 需求

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

適用於