Share via


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>

屬性值

筆刷,可在按下行事歷專案時提供前景。

適用於