Share via


CalendarView.SelectedPressedForeground 属性

定义

获取或设置一个画笔,该画笔提供按下的所选日历项的前景。

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

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

属性值

提供按下的所选日历项的前景的画笔。

Windows 要求

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

适用于