TX Text Control .NET Server

UICulture Property

Property|Introduced in 23.0
Namespace
TXTextControl.Web
Package
None: the TX Text Control .NET Server setup installs it, for .NET Framework.
Assembly
TXTextControl.Web.dll

Description

Gets or sets the control's user interface culture. Affects the string resource language.

Syntax

public System.Globalization.CultureInfo UICulture { get; set; }

Examples

In the current ASP.NET Core integration, UICulture is configured through TextControlSettings. The following example sets it while creating the editor configuration.

textControlSettings.UICulture = System.Globalization.CultureInfo.GetCultureInfo("en-US");
if (textControlSettings.UICulture != null)
{
    Console.WriteLine("UICulture is available for Text Control Settings.");
}