Cell merging is a very easy task using TX Text Control. The method MergeCells of the Table object merges all selected table cells in a table.
In order to select the desired table cells, the Select method can be used. Adjacent cells can be merged horizontally, vertically and both:
The following code shows how to use the Select method to select a block of cells from row 1 to row 2 and column 2 to column 3:
Text Control combines the power of a reporting tool and an easy-to-use WYSIWYG word processor - fully programmable and embeddable in your WPF application. TX Text Control .NET for WPF is a royalty-free, fully programmable rich edit control that offers developers a broad range of word processing features in a reusable component for Visual Studio.
See WPF products