DatePicker.SelectedDate DatePicker.SelectedDate DatePicker.SelectedDate DatePicker.SelectedDate Property

Definition

Gets or sets the date currently selected in the date picker, or null if no date is selected.

public : IReference<DateTime> SelectedDate { get; set; }
IReference<DateTime> SelectedDate();

void SelectedDate(IReference<DateTime> selecteddate);
public Nullable<DateTimeOffset> SelectedDate { get; set; }
Public ReadWrite Property SelectedDate As Nullable<DateTimeOffset>

Property Value

Nullable<DateTimeOffset> Nullable<DateTimeOffset>

The date currently selected in the picker, or null if no date is selected.

Additional features and requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)