All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

RichEditControlCompatibility.MergeSuccessiveTables Property

Specifies whether to merge the inserted table with the successive table.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v20.1.Core.dll

Declaration

[DefaultValue(true)]
public static bool MergeSuccessiveTables { get; set; }
<DefaultValue(True)>
Public Shared Property MergeSuccessiveTables As Boolean

Property Value

Type Description
Boolean

true, to merge successive tables; otherwise, false.

Remarks

When you call the TableCollection.Create method to insert a new table right before of after the existing table, these tables are merged, and the Create method returns the resulting table.

Set this property to false to keep successive tables separate.

The images below show how the tables are displayed depending on the MergeSuccessiveTables property value. The code sample below shows how these tables are inserted:

private void CreateTable(Document document)
{
    document.Tables.Create(document.Range.Start,2,3,AutoFitBehaviorType.AutoFitToWindow);
    document.Tables.Create(document.Tables[0].Range.End, 2, 2, AutoFitBehaviorType.AutoFitToContents);
}
  • MergeSuccessiveTables = true

    IMAGE

  • MergeSuccessiveTables = false

    IMAGE

See Also