TX Text Control .NET Server

Calendar Property

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

Description

Gets or sets the calendar type of the content control field.

Syntax

public string Calendar { get; set; }

Examples

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}");
}