Dela via


CalendarView.SelectedHoverForeground Property

Definition

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

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

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

Property Value

A brush that provides the foreground of a selected 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