Delen via


CalendarView.OutOfScopePressedForeground Property

Definition

Gets or sets a brush that provides the foreground of an out-of-scope calendar item that is pressed.

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

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

Property Value

A brush that provides the foreground of an out-of-scope calendar item that is pressed.

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Applies to