CalendarDatePicker.DateFormat Property

Definition

Gets or sets the display format for the date value in the picker's text box.

public:
 property Platform::String ^ DateFormat { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring DateFormat();

void DateFormat(winrt::hstring value);
public string DateFormat { get; set; }
var string = calendarDatePicker.dateFormat;
calendarDatePicker.dateFormat = string;
Public Property DateFormat As String
<CalendarDatePicker DateFormat="formatString"/>

Property Value

String

Platform::String

winrt::hstring

The string format to use to display the date in the picker's text box.

Applies to