Share via


CalendarView.CalendarItemHoverBackground Property

Definition

Gets or sets a brush that provides the background of a calendar item that the cursor is over.

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>

Property Value

A brush that provides the background of a calendar item that the cursor is over.

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Applies to