CalendarView.BlackoutStrikethroughBrush Property

Definition

Gets or sets a brush that marks out a date that can't be selected.

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

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

Property Value

A brush that marks out a date that 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