Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DatePicker.Date Property

Definition

Namespace:
Microsoft.Maui.Controls
Assembly:
Microsoft.Maui.Controls.dll
Source:
DatePicker.cs
Source:
DatePicker.cs
Source:
DatePicker.cs
Source:
DatePicker.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets the displayed date. This is a bindable property.

public:
 property Nullable<DateTime> Date { Nullable<DateTime> get(); void set(Nullable<DateTime> value); };
public:
 property DateTime Date { DateTime get(); void set(DateTime value); };
public DateTime? Date { get; set; }
public DateTime Date { get; set; }
member this.Date : Nullable<DateTime> with get, set
member this.Date : DateTime with get, set
Public Property Date As Nullable(Of DateTime)
Public Property Date As DateTime

Property Value

The DateTime displayed in the DatePicker.

Applies to


Feedback

Was this page helpful?