Share via


CalendarPicker.Date property

[This documentation is preliminary and is subject to change.]

Gets or sets the date currently set in the calendar picker.

Syntax

public Nullable<DateTimeOffset> Date { get; set; }
Public Property Date As Nullable(Of DateTimeOffset)
public:
property IReference<DateTime>^ Date { 
   IReference<DateTime>^ get();
   void set (IReference<DateTime>^ value);
}

Property value

Type: IReference<DateTime> [C++] | System.Nullable<DateTime> [.NET]

The date currently set in the calendar picker.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Controls Windows::UI::Xaml::Controls [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

See also

CalendarPicker