# TextControl.UICulture Property

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

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Namespace:** `TXTextControl.Web`
- **Assembly:** `TXTextControl.Web.dll`, which the TX Text Control .NET Server setup installs, for .NET Framework; in no NuGet package
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Web > TextControl.UICulture Property
- **457 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/uiculture-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/uiculture-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/uiculture-property/llms-full.txt

---

### Description

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

### Syntax

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

```vbnet
Public Property UICulture() As System.Globalization.CultureInfo
```

### Examples

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

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

```vbnet
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
```

---

## Nearby

- **Previous:** [TextControl.TextParts Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/textparts-property/llms-full.txt)
- **Next:** [TextControl.UserNames Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/usernames-property/llms-full.txt)
