Share via


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>

屬性值

筆刷,提供停用之行事歷專案的前景。

適用於