Share via


CalendarView.SelectedPressedForeground Property

Definition

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

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

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

Property Value

A brush that provides the foreground of a selected calendar item that is pressed.

Windows requirements

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

Applies to