CalendarView.PressedForeground 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 a calendar item while it's pressed.
public:
property Brush ^ PressedForeground { Brush ^ get(); void set(Brush ^ value); };
Brush PressedForeground();
void PressedForeground(Brush value);
C#
public Brush PressedForeground { get; set; }
var brush = calendarView.pressedForeground;
calendarView.pressedForeground = brush;
Public Property PressedForeground As Brush
XAML
<CalendarView PressedForeground="{StaticResource resourceName}"/>
- or -
<CalendarView PressedForeground="colorString"/>
- or -
<CalendarView>
CalendarView.PressedForeground>singleBrush</CalendarView.PressedForeground>
</CalendarView>
A brush that provides the foreground of a calendar item while it's pressed.
Product | Versions |
---|---|
Windows App SDK | 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |