Delen via


CalendarView.SelectedDisabledForeground Property

Definition

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

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

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

Property Value

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

Windows requirements

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

Applies to