ContentControl.DateDisplayLocale 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 language format of the date that is displayed in a ContentControl that represents a date picker.
public Microsoft.Office.Interop.Word.WdLanguageID DateDisplayLocale { get; set; }
Property Value
The language format of the date that is displayed in the control.
Exceptions
The Type property does not have the value Microsoft.Office.Interop.Word.WdContentControlType.wdContentControlDate.
Remarks
This property can be used only if the ContentControl represents a date picker.
The default value of the DateDisplayLocale property depends on the editing language specified in Microsoft Office Word. For example, the default language format for English (United States) is wdEnglishUS.