# IfField.MergeCulture Property

> Specifies the culture with which numerical and date / time values are formatted when merged into the target document. The default value for this property is the current thread culture.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 31.0
- **Namespace:** `TXTextControl.DocumentServer.Fields`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXDocumentServer.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXDocumentServer.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.DocumentServer.Fields > IfField.MergeCulture Property
- **433 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/iffield/mergeculture-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/iffield/mergeculture-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/iffield/mergeculture-property/llms-full.txt

---

### Description

Specifies the culture with which numerical and date / time values are formatted when merged into the target document. The default value for this property is the current thread culture.

### Syntax

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

```vbnet
Public Property MergeCulture As CultureInfo
```

### Examples

The following example uses `IfField.MergeCulture` to configure merge culture as part of the if field workflow. The configured value is checked before the workflow continues.

```csharp
ifField.MergeCulture = System.Globalization.CultureInfo.GetCultureInfo("en-US");
if (ifField.MergeCulture != null)
{
    Console.WriteLine("If Field: Merge Culture is available.");
}
```

```vbnet
ifField.MergeCulture = System.Globalization.CultureInfo.GetCultureInfo("en-US")
If ifField.MergeCulture IsNot Nothing Then
    Console.WriteLine("If Field: Merge Culture is available.")
End If
```

---

## Nearby

- **Previous:** [IfField.FieldValue Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/iffield/fieldvalue-property/llms-full.txt)
- **Next:** [IfField.Operator Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/iffield/operator-property/llms-full.txt)
