Share via


CalendarView.SelectedForeground Property

Definition

Gets or sets a brush that provides the foreground of a calendar item that's selected.

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

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

Property Value

A brush that provides the foreground of a calendar item that's selected.

Applies to