CalendarDatePicker.MaxDate Property

Definition

Gets or sets the latest date that can be set in the picker.

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

public:
 property DateTime MaxDate { DateTime get(); void set(DateTime value); };
DateTime MaxDate();

void MaxDate(DateTime value);
public System.DateTimeOffset MaxDate { get; set; }
var dateTime = calendarDatePicker.maxDate;
calendarDatePicker.maxDate = dateTime;
Public Property MaxDate As DateTimeOffset

Property Value

DateTime DateTimeOffset

The latest date that can be set.

Applies to