DateContentControl Constructor
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.asTextControl. Core. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.dll
Description
Initializes a new instance of the DateContentControl class.
Syntax
DateContentControl()
Initializes complete new instance of the DateContentControl class without a connection to an existing ApplicationField.
public DateContentControl();Public Sub New()DateContentControl(ApplicationField)
Initializes a new instance of the DateContentControl class with a connection to an existing ApplicationField.
public DateContentControl(ApplicationField ApplicationField);Public Sub New(ApplicationField As ApplicationField)| Parameter | Description |
|---|---|
| ApplicationField | Specifies the ApplicationField to be adapted. |
Examples
The following example creates a Date Content Control instance and configures its date format setting for a document workflow.
TXTextControl.DocumentServer.Fields.DateContentControl dateContentControl = new();
dateContentControl.DateFormat = "0.00";Dim dateContentControl As New TXTextControl.DocumentServer.Fields.DateContentControl()
dateContentControl.DateFormat = "0.00"