CalendarView.SelectedForeground 属性

定义

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

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

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

属性值

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

适用于