Dela via


CalendarView.PressedForeground Property

Definition

Gets or sets a brush that provides the foreground of a calendar item while it's pressed.

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

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

Property Value

A brush that provides the foreground of a calendar item while it's pressed.

Applies to