blazor-devexpress-dot-blazor-dot-richedit-dot-richeditcontextmenuitemnames-fb7b2a1f.md
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
public const string ShowInsertCellsDialog = "ShowInsertCellsDialog"
| Type | Description |
|---|---|
| String |
The “ShowInsertCellsDialog” string.
|
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
RichEditContextMenuItemNames Class