CalendarView.PressedForeground 属性

定义

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

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

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

属性值

在按下日历项时提供日历项的前景的画笔。

适用于