Share via


CalendarView.CalendarItemPressedBackground Property

Definition

Gets or sets a brush that provides the background of a calendar item that is pressed.

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

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

Property Value

A brush that provides the background of a 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