共用方式為


CalendarView.TodayHoverBackground 屬性

定義

取得或設定筆刷,這個筆刷會在游標上方時提供目前日期的背景。

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

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

屬性值

筆刷,提供目前日期在游標上方的背景。

Windows 需求

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

適用於