Dela via


CalendarView.TodayHoverBackground Property

Definition

Gets or sets a brush that provides the background of the current date when the cursor is over it.

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>

Property Value

A brush that provides the background of the current date when the cursor is over it.

Windows requirements

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

Applies to