DateFormat Property
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the date format of the content control field.
Syntax
public string DateFormat { get; set; }Public Property DateFormat As StringExamples
The following example uses DateContentControl.DateFormat to configure date format as part of the date content control workflow. The configured value is checked before the workflow continues.
dateContentControl.DateFormat = "0.00";
if (!string.IsNullOrWhiteSpace(dateContentControl.DateFormat))
{
Console.WriteLine($"Date Format: {dateContentControl.DateFormat}");
}dateContentControl.DateFormat = "0.00"
If Not String.IsNullOrWhiteSpace(dateContentControl.DateFormat) Then
Console.WriteLine($"Date Format: {dateContentControl.DateFormat}")
End If