Skip to main content

TableCell.VerticalMerging Property

Obtains the vertical merge state of the current cell (whether the cell is merged vertically) and its relative position in a merged object.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v23.2.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation


VerticalMergingState VerticalMerging { get; }

Property Value

Type Description

A VerticalMergingState enumeration member that specifies the state of the cell regarding the vertical merge.

Available values:

Name Description

The cell is not merged vertically.


The cell continues vertical merging.


The cell starts vertical merging.


This code snippet performs the following:

  • creates a table containing 6 rows and 8 columns
  • merges cells horizontally in the third row from the third to the sixth column
  • merges cells vertically in the third column from the fourth to the eighth row

View Example

Document document = server.Document;
Table table = document.Tables.Create(document.Range.Start, 6, 8);
table.MergeCells(table[2, 1], table[5, 1]);
table.MergeCells(table[2, 3], table[2, 7]);

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the VerticalMerging property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also