blazor-devexpress-dot-blazor-dot-richedit-dot-richeditcontextmenuitemnames-82306a11.md
Gets the Insert Table Row Above item’s name.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public const string InsertTableRowAbove = "InsertTableRowAbove"
| Type | Description |
|---|---|
| String |
The “InsertTableRowAbove” string.
|
Use this property to perform the following operations with the Insert Table Row Above item:
The Insert Table Row Above item is a context menu item in the Insert Table Elements Menu. The item inserts a row above the selected row.
The following code snippet removes the Insert Table Row Above 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.InsertTableRowAbove);
}
}
See Also
RichEditContextMenuItemNames Class