Skip to main content

RichEditBarItemNames.MergeTableCells Property

Gets the Merge Table Cells item’s name.

Namespace: DevExpress.Blazor.RichEdit

Assembly: DevExpress.Blazor.RichEdit.v24.1.dll

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string MergeTableCells { get; }

Property Value

Type Description
String

The “MergeTableCells” string.

Remarks

Use this property to perform the following operations:

The Merge Table Cells item is a button in the Merge group. This button merges the selected cells into one cell. The Rich Text Editor disables this button when one table cell is selected.

The following code snippet removes the Merge Table Cells item from the ribbon:

<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

@code {
    void onCustomizeRibbon(IRibbon ribbon) {
        string tabName = RichEditRibbonTabNames.TableLayout;
        string groupName = RichEditRibbonGroupNames.LayoutMerge;
        string itemName = RichEditBarItemNames.MergeTableCells;
        ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
    }
}
See Also