共用方式為


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 引進)

適用於