CalendarView.CalendarItemHoverBackground 属性

定义

获取或设置一个画笔,该画笔提供光标所覆盖的日历项的背景。

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

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

属性值

提供光标所过日历项的背景的画笔。

Windows 要求

设备系列
Windows 11 (在 10.0.22000.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v14.0 中引入)

适用于