Back to Devexpress

RichEditBarItemNames.MergeTableCells Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditbaritemnames-a8530082.md

latest2.1 KB
Original Source

RichEditBarItemNames.MergeTableCells Property

Gets the Merge Table Cells item’s name.

Namespace : DevExpress.Blazor.RichEdit

Assembly : DevExpress.Blazor.RichEdit.v25.2.dll

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string MergeTableCells { get; }

Property Value

TypeDescription
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:

razor
<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

RichEditBarItemNames Class

RichEditBarItemNames Members

DevExpress.Blazor.RichEdit Namespace