AddDatePickerContentControl
Adds a new date picker content control to the document.
Syntax
expression.AddDatePickerContentControl(datePickerPr);
expression
- A variable that represents a ApiDocument class.
Parameters
Name | Required/Optional | Data type | Default | Description |
---|---|---|---|---|
datePickerPr | Optional | ContentControlDatePr | The optional date picker properties. |
Returns
Example
This example shows how to add a date picker content control to a document:
- Code
- Result
let doc = Api.GetDocument();
doc.AddDatePickerContentControl();