DataSourceCulture Property
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public Property DataSourceCulture As CultureInfoExamples
The following example uses NextIfField.DataSourceCulture to configure data source culture as part of the next if field workflow. The configured value is checked before the workflow continues.
nextIfField.DataSourceCulture = System.Globalization.CultureInfo.GetCultureInfo("en-US");
if (nextIfField.DataSourceCulture != null)
{
Console.WriteLine("Next If Field: Data Source Culture is available.");
}nextIfField.DataSourceCulture = System.Globalization.CultureInfo.GetCultureInfo("en-US")
If nextIfField.DataSourceCulture IsNot Nothing Then
Console.WriteLine("Next If Field: Data Source Culture is available.")
End If