DateContentControl Class
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXDocumentServer.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXDocumentServer.from the setup.dll
- Inherits
- Field
Adapter - Content
Control Field Adapter - Date
Content Control
- Field
Description
The DateContentControl implements the MS Word specific date content control field. This field must be used in combination with an ApplicationField that should be modified using this adapter.
Syntax
public class DateContentControl : ContentControlFieldAdapterPublic Class DateContentControl
Inherits ContentControlFieldAdapterExamples
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"Members
Constructors
| Constructor | Description |
|---|---|
| ContentControlFieldAdapter | Initializes a new instance of the ContentControlFieldAdapter class. (Inherited from ContentControlFieldAdapter.) |
| DateContentControl | Initializes a new instance of the DateContentControl class. |
Properties
| Property | Description |
|---|---|
| Calendar | Gets or sets the calendar type of the content control field. |
| ContentDeletable | Specifies whether the content of the content control field should be deletable or not. (Inherited from ContentControlFieldAdapter.) |
| ContentEditable | Specifies whether the content of the content control field should be editable or not. (Inherited from ContentControlFieldAdapter.) |
| Date | Gets or sets the date of the content control field. |
| DateFormat | Gets or sets the date format of the content control field. |
| Id | Gets or sets the content control's id. (Inherited from ContentControlFieldAdapter.) |
| LanguageID | Gets or sets the language ID of the content control field. |
| Placeholder | Gets or sets the placeholder field part of the content control field. (Inherited from ContentControlFieldAdapter.) |
| StoreMappedDataAs | Gets or sets the translation that shall be performed on the displayed date in a date picker structured document tag. |
| Tag | Gets or sets the content control's tag. (Inherited from ContentControlFieldAdapter.) |
| Title | Gets or sets the content control's title. (Inherited from ContentControlFieldAdapter.) |
| Type | Gets or sets the type of the content control field. (Inherited from ContentControlFieldAdapter.) |