Share via


CalendarView.DisabledForeground Property

Definition

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

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

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

Property Value

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

Applies to