# TextControlSettings.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.MVC`
- **Package:** `TXTextControl.Web` (assembly `TXTextControl.Web.DocumentEditor.dll`, from nuget.org, the private NuGet feed or Text Control Offline Packages)
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Web.MVC > TextControlSettings.UICulture Property
- **428 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/uiculture-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/uiculture-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/uiculture-property/llms-full.txt

---

### Description

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

### Syntax

```csharp
public CultureInfo UICulture { get; set; }
```

```vbnet
Public Property UICulture As 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:** [TextControlSettings.TextFrameMarkerLines Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/textframemarkerlines-property/llms-full.txt)
- **Next:** [TextControlSettings.UserNames Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/usernames-property/llms-full.txt)
