Skip to main content
All docs
V25.1
  • RichEditBarItemNames.ShowDeleteCellsDialog Property

    Gets the Show Delete Cells Dialog item’s name.

    Namespace: DevExpress.Blazor.RichEdit

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

    NuGet Package: DevExpress.Blazor.RichEdit

    Declaration

    public static string ShowDeleteCellsDialog { get; }

    Property Value

    Type Description
    String

    The “ShowDeleteCellsDialog” string.

    Remarks

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

    The Show Delete Cells Dialog item is a button in the Delete Table Elements Menu. This button invokes the Delete Cells dialog that allows users to delete a table cell, column, or row.

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

    <DxRichEdit CustomizeRibbon="onCustomizeRibbon" />
    
    @code {
        void onCustomizeRibbon(IRibbon ribbon) {
            IBarItem deleteTableElementsMenu = ribbon.Tabs[RichEditRibbonTabNames.TableLayout]
            .Groups[RichEditRibbonGroupNames.LayoutRowsAndColumns]
            .Items[RichEditBarItemNames.DeleteTableElementsMenu];
            if (deleteTableElementsMenu.Type == BarItemTypes.DropDown) {
                IBarDropDown deleteTableElementsDropDown = (IBarDropDown)deleteTableElementsMenu;
                deleteTableElementsDropDown.Items.Remove(RichEditBarItemNames.DeleteTable);
                deleteTableElementsDropDown.Items.Remove(RichEditBarItemNames.DeleteTableColumns);
                deleteTableElementsDropDown.Items.Remove(RichEditBarItemNames.DeleteTableRows);
                deleteTableElementsDropDown.Items.Remove(RichEditBarItemNames.ShowDeleteCellsDialog);
            }
        }
    }
    
    See Also