Jaa


CalendarView.TodayDisabledBackground Property

Definition

Gets or sets a brush that provides the background of the current date when it is disabled.

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

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

Property Value

A brush that provides the background of the current date when it is disabled.

Windows requirements

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

Applies to