ContentControl.DateDisplayFormat Property

Definition

Returns or sets the format in which dates are displayed. Read/write.

public:
 property System::String ^ DateDisplayFormat { System::String ^ get(); void set(System::String ^ value); };
public string DateDisplayFormat { get; set; }
member this.DateDisplayFormat : string with get, set
Public Property DateDisplayFormat As String

Property Value

String

Remarks

The default format is the format setting specified in Microsoft Office Word on the users' system, which usually depends on the location setting in Microsoft Windows. For example, the default format of dates for English (U.S.) is "mm/dd/yyyy". Use the DateDisplayFormat property to specify a different date format.

Applies to