CalendarView.CalendarItemDisabledBackground 属性

定义

获取或设置一个画笔,该画笔提供禁用的日历项的背景。

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

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

属性值

提供已禁用日历项的背景的画笔。

适用于