Skip to main content
All docs
V25.1
  • RichEditContextMenuItemNames.ShowInsertCellsDialog Field

    Gets the Show Insert Cells Dialog item’s name.

    Namespace: DevExpress.Blazor.RichEdit

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

    NuGet Package: DevExpress.Blazor.RichEdit

    Declaration

    public const string ShowInsertCellsDialog = "ShowInsertCellsDialog"

    Field Value

    Type Description
    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:

    <DxRichEdit CustomizeContextMenu="OnCustomizeContextMenu"/>
    
    @code {
        void OnCustomizeContextMenu(IContextMenuItemCollection items) {
            IContextMenuItem tableElementsMenu = items[RichEditContextMenuItemNames.InsertTableElementsMenu];
            if(tableElementsMenu != null)
                tableElementsMenu.Items.Remove(RichEditContextMenuItemNames.ShowInsertCellsDialog);
        }
    }
    
    See Also