共用方式為


CalendarView.SelectedDisabledForeground 屬性

定義

取得或設定筆刷,這個筆刷會提供已選取之已停用行事曆專案的前景。

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

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

屬性值

筆刷,提供已選取之已停用行事曆專案的前景。

Windows 需求

裝置系列
Windows 11 (已於 10.0.22000.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v14.0 引進)

適用於