Back to Devexpress

RichEditContextMenuItemNames.ShowInsertCellsDialog Field

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditcontextmenuitemnames-fb7b2a1f.md

latest2.5 KB
Original Source

RichEditContextMenuItemNames.ShowInsertCellsDialog Field

Gets the Show Insert Cells Dialog item’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public const string ShowInsertCellsDialog = "ShowInsertCellsDialog"

Field Value

TypeDescription
String

The “ShowInsertCellsDialog” string.

|

Remarks

Use this property to perform the following operations with the Show Insert Cells Dialog item:

The Show Insert Cells Dialog item is a context menu item in the Insert Table Elements Menu. The item invokes the Insert Cells dialog that allows users to insert a cell, column, or row to a table.

The following code snippet removes the Show Insert Cells Dialog item from the Insert Table Elements Menu:

razor
<DxRichEdit CustomizeContextMenu="OnCustomizeContextMenu"/>

@code {
    void OnCustomizeContextMenu(IContextMenuItemCollection items) {
        IContextMenuItem tableElementsMenu = items[RichEditContextMenuItemNames.InsertTableElementsMenu];
        if(tableElementsMenu != null)
            tableElementsMenu.Items.Remove(RichEditContextMenuItemNames.ShowInsertCellsDialog);
    }
}

See Also

RichEditContextMenuItemNames Class

RichEditContextMenuItemNames Members

DevExpress.Blazor.RichEdit Namespace