CalendarView.BlackoutStrikethroughBrush 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个画笔,用于标记无法选择的日期。
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 中引入)
|