CalendarView.SelectedHoverForeground 属性

定义

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

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

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

属性值

提供光标悬停的所选日历项的前景的画笔。

Windows 要求

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

适用于