RichEditContextMenuItemNames.InsertTableRowAbove Field
Gets the Insert Table Row Above item’s name.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.2.dll
NuGet Package: DevExpress.Blazor.RichEdit
Declaration
public const string InsertTableRowAbove = "InsertTableRowAbove"
Field Value
Type | Description |
---|---|
String | The “InsertTableRowAbove” string. |
Remarks
Use this property to perform the following operations with the Insert Table Row Above item:
- Access the item’s properties
- Add/remove the item to/from a menu
- Remove the item from the Insert Table Elements Menu
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