Share via


CalendarView.TodayBlackoutBackground Property

Definition

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

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

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

Property Value

A brush that provides the background 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