Word.Interfaces.DatePickerContentControlLoadOptions interface
Represents the DatePickerContentControl object.
Remarks
Properties
| $all | Specifying |
| appearance | Specifies the appearance of the content control. |
| color | Specifies the red-green-blue (RGB) value of the color of the content control. You can provide the value in the '#RRGGBB' format. |
| date |
Specifies a |
| date |
Specifies the format in which dates are displayed. |
| date |
Specifies a |
| date |
Specifies a |
| id | Gets the identification for the content control. |
| is |
Specifies whether to remove the content control from the active document when the user edits the contents of the control. |
| level | Specifies the level of the content control—whether the content control surrounds text, paragraphs, table cells, or table rows; or if it is inline. |
| lock |
Specifies if the content control is locked (can't be deleted). |
| lock |
Specifies if the contents of the content control are locked (not editable). |
| placeholder |
Returns a |
| range | Gets a |
| showing |
Gets whether the placeholder text for the content control is being displayed. |
| tag | Specifies a tag to identify the content control. |
| title | Specifies the title for the content control. |
| xml |
Gets an |
Property Details
$all
Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).
$all?: boolean;
Property Value
boolean
appearance
Specifies the appearance of the content control.
appearance?: boolean;
Property Value
boolean
Remarks
color
Specifies the red-green-blue (RGB) value of the color of the content control. You can provide the value in the '#RRGGBB' format.
color?: boolean;
Property Value
boolean
Remarks
dateCalendarType
Specifies a CalendarType value that represents the calendar type for the date picker content control.
dateCalendarType?: boolean;
Property Value
boolean
Remarks
dateDisplayFormat
Specifies the format in which dates are displayed.
dateDisplayFormat?: boolean;
Property Value
boolean
Remarks
dateDisplayLocale
Specifies a LanguageId that represents the language format for the date displayed in the date picker content control.
dateDisplayLocale?: boolean;
Property Value
boolean
Remarks
dateStorageFormat
Specifies a ContentControlDateStorageFormat value that represents the format for storage and retrieval of dates when the date picker content control is bound to the XML data store of the active document.
dateStorageFormat?: boolean;
Property Value
boolean
Remarks
id
Gets the identification for the content control.
id?: boolean;
Property Value
boolean
Remarks
isTemporary
Specifies whether to remove the content control from the active document when the user edits the contents of the control.
isTemporary?: boolean;
Property Value
boolean
Remarks
level
Specifies the level of the content control—whether the content control surrounds text, paragraphs, table cells, or table rows; or if it is inline.
level?: boolean;
Property Value
boolean
Remarks
lockContentControl
Specifies if the content control is locked (can't be deleted). true means that the user can't delete it from the active document, false means it can be deleted.
lockContentControl?: boolean;
Property Value
boolean
Remarks
lockContents
Specifies if the contents of the content control are locked (not editable). true means the user can't edit the contents, false means the contents are editable.
lockContents?: boolean;
Property Value
boolean
Remarks
placeholderText
Returns a BuildingBlock object that represents the placeholder text for the content control.
placeholderText?: Word.Interfaces.BuildingBlockLoadOptions;
Property Value
Remarks
range
Gets a Range object that represents the contents of the content control in the active document.
range?: Word.Interfaces.RangeLoadOptions;
Property Value
Remarks
showingPlaceholderText
Gets whether the placeholder text for the content control is being displayed.
showingPlaceholderText?: boolean;
Property Value
boolean
Remarks
tag
Specifies a tag to identify the content control.
tag?: boolean;
Property Value
boolean
Remarks
title
Specifies the title for the content control.
title?: boolean;
Property Value
boolean
Remarks
xmlMapping
Gets an XmlMapping object that represents the mapping of the content control to XML data in the data store of the document.
xmlMapping?: Word.Interfaces.XmlMappingLoadOptions;