CalendarView.DisabledForeground 属性

定义

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

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

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

属性值

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

适用于