Culture Property
- Namespace
TXTextControl.DocumentServer. DataShaping
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the format provider for numerical value comparison. The default value for this property is the invariant culture.
Syntax
public CultureInfo Culture { get; set; }Public Property Culture As CultureInfoExamples
The following example uses SortingInstruction.Culture to configure culture as part of the sorting instruction workflow. The configured value is checked before the workflow continues.
sortingInstruction.Culture = System.Globalization.CultureInfo.GetCultureInfo("en-US");
if (sortingInstruction.Culture != null)
{
Console.WriteLine("Sorting Instruction: Culture is available.");
}sortingInstruction.Culture = System.Globalization.CultureInfo.GetCultureInfo("en-US")
If sortingInstruction.Culture IsNot Nothing Then
Console.WriteLine("Sorting Instruction: Culture is available.")
End If