CalendarView.TodayForeground Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a brush that provides the foreground of the calendar item for the current date.
public:
property Brush ^ TodayForeground { Brush ^ get(); void set(Brush ^ value); };
Brush TodayForeground();
void TodayForeground(Brush value);
C#
public Brush TodayForeground { get; set; }
var brush = calendarView.todayForeground;
calendarView.todayForeground = brush;
Public Property TodayForeground As Brush
XAML
<CalendarView TodayForeground="{StaticResource resourceName}"/>
- or -
<CalendarView TodayForeground="colorString"/>
- or -
<CalendarView>
CalendarView.TodayForeground>singleBrush</CalendarViewTodayForeground>
</CalendarView>
A brush that provides the foreground of the calendar item for the current date.
Produk | Versi |
---|---|
Windows App SDK | 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |