# ResourceProvider.ImageSourceSettings.Culture Property

> Specifies the culture to receive a language related image. If no specific image is defined for the culture, the related image for English (represented by the ISO 639 two-letter lowercase culture code "en") is returned by the corresponding method. The default value is CultureInfo.CurrentUICulture.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 27.0
- **Namespace:** `TXTextControl.Windows.Forms`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms > ResourceProvider.ImageSourceSettings.Culture Property
- **583 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/resourceprovider-imagesourcesettings/culture-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/resourceprovider-imagesourcesettings/culture-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/resourceprovider-imagesourcesettings/culture-property/llms-full.txt

---

### Description

Specifies the culture to receive a language related image. If no specific image is defined for the culture, the related image for English (represented by the ISO 639 two-letter lowercase culture code "en") is returned by the corresponding method. The default value is CultureInfo.CurrentUICulture.

### Syntax

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

```vbnet
Public Property Culture As CultureInfo
```

### Examples

The following example uses `ImageSourceSettings.Culture` to configure culture as part of the image source settings workflow. The configured value is checked before the workflow continues.

```csharp
imageSourceSettings.Culture = System.Globalization.CultureInfo.GetCultureInfo("en-US");
if (imageSourceSettings.Culture != null)
{
    Console.WriteLine("Image Source Settings: Culture is available.");
}
```

```vbnet
imageSourceSettings.Culture = System.Globalization.CultureInfo.GetCultureInfo("en-US")
If imageSourceSettings.Culture IsNot Nothing Then
    Console.WriteLine("Image Source Settings: Culture is available.")
End If
```

### Limitations

This property only affects images with the following identifiers:

`TXITEM_Bold` for English ("en"), French ("fr"), German ("de") and Spanish ("es") when using the ResourceProvider.GetSmallIcon method.

`TXITEM_Italic` for English ("en"), French ("fr"), German ("de") and Spanish ("es") when using the ResourceProvider.GetSmallIcon method.

`TXITEM_Underline` for English ("en"), French ("fr"), German ("de") and Spanish ("es") when using the ResourceProvider.GetSmallIcon method.

---

## Nearby

- **Previous:** [ResourceProvider.ImageSourceSettings Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/resourceprovider-imagesourcesettings/constructor/llms-full.txt)
- **Next:** [ResourceProvider.ImageSourceSettings.FillColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/resourceprovider-imagesourcesettings/fillcolor-property/llms-full.txt)
