CalendarDatePicker.DateFormat Property
Definition
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 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
The string format to use to display the date in the picker's text box.