# InsertMergeBlockDialog Class

> The InsertMergeBlockDialog class allows the user to design and insert a merge block based on the currently selected master table. It is inserted at the current input position of a given Text Control instance. The InsertMergeBlockDialog is a modal dialog box which must be shown with the InsertMergeBlockDialog.ShowDialog method.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.DocumentServer.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXDocumentServer.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.WPF.dll` from the setup
- **Inherits:** `System.Windows.Window`
- **Implements:** `System.Windows.Markup.IComponentConnector`, `System.Windows.Markup.IStyleConnector`
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.DocumentServer.WPF > InsertMergeBlockDialog Class
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/insertmergeblockdialog/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/insertmergeblockdialog/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/insertmergeblockdialog/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/insertmergeblockdialog/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/insertmergeblockdialog/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/insertmergeblockdialog/#examples)
- [Members](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/insertmergeblockdialog/#members)

---

## In This Section

- [InsertMergeBlockDialog.AddResult Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/insertmergeblockdialog/addresult-property/llms.txt): Returns whether the new block has successfully been inserted.
- [InsertMergeBlockDialog.AddTableHeaderRow Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/insertmergeblockdialog/addtableheaderrow-property/llms.txt): Indicates whether a separate header row has to be added to the table containing the repeating merge block. In case of a paragraph based merge block the value of this property can be ignored.
- [InsertMergeBlockDialog.BlockType Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/insertmergeblockdialog/blocktype-property/llms.txt): Indicates the type of the merge block to be created.
- [InsertMergeBlockDialog Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/insertmergeblockdialog/constructor/llms.txt): Creates a InsertMergeBlockDialog object for the specified DocumentServer.DataSources.DataSourceManager.
- [InsertMergeBlockDialog.CreatedTable Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/insertmergeblockdialog/createdtable-property/llms.txt): Returns the newly created TXTextControl.Table if the merge block was inserted as a table row.
- [InsertMergeBlockDialog.HighlightColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/insertmergeblockdialog/highlightcolor-property/llms.txt): Returns the selected highlight color to be used for the sub text part representing the merge block.
- [InsertMergeBlockDialog.MergeBlockInfo Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/insertmergeblockdialog/mergeblockinfo-property/llms.txt): Returns a MergeBlockInfo object describing the merge block to be inserted.

---

## Nearby

- **Previous:** [FilterAndSortDialog.StoreBlockMetaData Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/filterandsortdialog/storeblockmetadata-method/llms.txt)
- **Next:** [InsertMergeBlockDialog.AddResult Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-wpf/insertmergeblockdialog/addresult-property/llms.txt)
