TX Text Control .NET for Windows Forms

Type Property

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

Description

Gets or sets the type of the content control field.

Syntax

public string Type { get; set; }

Examples

The following example uses ContentControlFieldAdapter.Type to configure type as part of the content control field adapter workflow. The configured value is checked before the workflow continues.

contentControlFieldAdapter.Type = "Quarterly report";
if (!string.IsNullOrWhiteSpace(contentControlFieldAdapter.Type))
{
    Console.WriteLine($"Type: {contentControlFieldAdapter.Type}");
}