UICulture Property
- Namespace
TXTextControl.Web. MVC
- Package
TXTextControl.asWeb TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb. DocumentEditor. dll
Description
Gets or sets the control's user interface culture. Affects the string resource language.
Syntax
public CultureInfo UICulture { get; set; }Public Property UICulture As CultureInfoExamples
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.");
}textControlSettings.UICulture = System.Globalization.CultureInfo.GetCultureInfo("en-US")
If textControlSettings.UICulture IsNot Nothing Then
Console.WriteLine("UICulture is available for Text Control Settings.")
End If