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 中引入)

适用于