CalendarView.DisabledForeground Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.