CalendarDatePicker.IsTodayHighlighted Property

Definition

Gets or sets a value that indicates whether the current date is highlighted in the picker's CalendarView.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.CalendarDatePicker.IsTodayHighlighted.

public:
 property bool IsTodayHighlighted { bool get(); void set(bool value); };
bool IsTodayHighlighted();

void IsTodayHighlighted(bool value);
public bool IsTodayHighlighted { get; set; }
var boolean = calendarDatePicker.isTodayHighlighted;
calendarDatePicker.isTodayHighlighted = boolean;
Public Property IsTodayHighlighted As Boolean
<CalendarDatePicker IsTodayHighlighted="bool" .../>

Property Value

Boolean

bool

true if the current date is highlighted; otherwise, false. The default is true.

Remarks

This property affects the CalendarDatePicker 's internal CalendarView. For more info, see CalendarView.IsTodayHighlighted.

Applies to

See also