Udostępnij za pośrednictwem


CalendarView.TodayBlackoutForeground Property

Definition

Gets or sets a brush that provides the foreground of the current date when it can't be selected.

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

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

Property Value

A brush that provides the foreground of the current date when it can't be selected.

Windows requirements

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

Applies to