CalendarView.TodayPressedBackground Eigenschaft

Definition

Ruft einen Pinsel ab, der den Hintergrund des aktuellen Datums bereitstellt, wenn er gedrückt wird, oder legt diesen fest.

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

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

Eigenschaftswert

Ein Pinsel, der den Hintergrund des aktuellen Datums bereitstellt, wenn er gedrückt wird.

Windows-Anforderungen

Gerätefamilie
Windows 11 (eingeführt in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v14.0)

Gilt für: