CalendarView.OutOfScopePressedForeground 属性

定义

获取或设置一个画笔,该画笔提供按下的作用域外日历项的前景。

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

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

属性值

提供按下的作用域外日历项的前景的画笔。

Windows 要求

设备系列
Windows 11 (在 10.0.22000.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v14.0 中引入)

适用于