TX Text Control .NET for Windows Forms

DataSourceCulture Property

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

Description

Specifies the culture which is used for the relational comparison of numerical values. The default value for this property is the current thread culture.

Syntax

public CultureInfo DataSourceCulture { get; set; }

Examples

The following example uses IfField.DataSourceCulture to configure data source culture as part of the if field workflow. The configured value is checked before the workflow continues.

ifField.DataSourceCulture = System.Globalization.CultureInfo.GetCultureInfo("en-US");
if (ifField.DataSourceCulture != null)
{
    Console.WriteLine("If Field: Data Source Culture is available.");
}