TX Text Control .NET for Windows Forms

Date Property

Property|Introduced in 15.0
Namespace
TXTextControl.DocumentServer.Fields
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Sets the date of the field.

Syntax

public DateTime Date { get; set; }

Examples

The following example uses DateField.Date to configure date as part of the date field workflow. The configured value is checked before the workflow continues.

dateField.Date = DateTime.Today;
Console.WriteLine($"Date used by Date Field: {dateField.Date}");