CalendarView.BlackoutStrikethroughBrush 属性

定义

获取或设置一个画笔,用于标记无法选择的日期。

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>

属性值

标记无法选择的日期的画笔。

Windows 要求

设备系列
Windows 11 (在 10.0.22000.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v14.0 中引入)

适用于