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>

属性值

提供日历项的前景的画笔。

适用于