TX Text Control .NET for Windows Forms

LanguageID 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 language ID of the content control field.

Syntax

public string LanguageID { get; set; }

Examples

The following example uses DateContentControl.LanguageID to configure language id as part of the date content control workflow. The configured value is checked before the workflow continues.

dateContentControl.LanguageID = "Quarterly report";
if (!string.IsNullOrWhiteSpace(dateContentControl.LanguageID))
{
    Console.WriteLine($"Language ID: {dateContentControl.LanguageID}");
}