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 中引入)

适用于