Calendar Property
- 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
Gets or sets the calendar type of the content control field.
Syntax
public string Calendar { get; set; }Public Property Calendar As StringExamples
The following example uses DateContentControl.Calendar to configure calendar as part of the date content control workflow. The configured value is checked before the workflow continues.
dateContentControl.Calendar = "Quarterly report";
if (!string.IsNullOrWhiteSpace(dateContentControl.Calendar))
{
Console.WriteLine($"Calendar: {dateContentControl.Calendar}");
}dateContentControl.Calendar = "Quarterly report"
If Not String.IsNullOrWhiteSpace(dateContentControl.Calendar) Then
Console.WriteLine($"Calendar: {dateContentControl.Calendar}")
End If