CalendarView.OutOfScopeHoverForeground 属性

定义

获取或设置一个画笔,该画笔提供光标悬停在范围外日历项的前景。

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

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

属性值

提供光标悬停在范围外日历项的前景的画笔。

Windows 要求

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

适用于