Skip to main content

RichEditBarItemNames.MergeTableCells Property

Gets the Merge Table Cells item’s name.

Namespace: DevExpress.Blazor.RichEdit

Assembly: DevExpress.Blazor.RichEdit.v23.2.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 example below demonstrates how to remove 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