# MergeBlockSettings.BlockTemplateType Property

> Gets or sets a value of type BlockTemplateType which specifies the type of the inserted repeating block. (paragraph based or table row based)

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.DocumentServer.DataSources`
- **Package:** `TXTextControl.TextControl.WinForms.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 for Windows Forms > Reference > TXTextControl.DocumentServer.DataSources > MergeBlockSettings.BlockTemplateType Property
- **398 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datasources/mergeblocksettings/blocktemplatetype-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datasources/mergeblocksettings/blocktemplatetype-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datasources/mergeblocksettings/blocktemplatetype-property/llms-full.txt

---

### Description

Gets or sets a value of type [BlockTemplateType](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datasources/blocktemplatetype/enumeration/llms-full.txt) which specifies the type of the inserted repeating block. (paragraph based or table row based)

### Syntax

```csharp
public BlockTemplateType BlockTemplateType { get; set; }
```

```vbnet
Public Property BlockTemplateType As BlockTemplateType
```

### Examples

The following example uses `MergeBlockSettings.BlockTemplateType` to configure block template type as part of the merge block settings workflow. The configured value is checked before the workflow continues.

```csharp
mergeBlockSettings.BlockTemplateType = TXTextControl.DocumentServer.DataSources.BlockTemplateType.TableRow;
Console.WriteLine($"Block Template Type used by Merge Block Settings: {mergeBlockSettings.BlockTemplateType}");
```

```vbnet
mergeBlockSettings.BlockTemplateType = TXTextControl.DocumentServer.DataSources.BlockTemplateType.TableRow
Console.WriteLine($"Block Template Type used by Merge Block Settings: {mergeBlockSettings.BlockTemplateType}")
```

---

## Nearby

- **Previous:** [MergeBlockSettings.AddResult Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datasources/mergeblocksettings/addresult-property/llms-full.txt)
- **Next:** [MergeBlockSettings Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datasources/mergeblocksettings/constructor/llms-full.txt)
