共用方式為


CalendarView.CalendarItemForeground 屬性

定義

取得或設定筆刷,這個筆刷會提供行事曆專案的前景。

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

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

屬性值

提供行事曆專案前景的筆刷。

適用於