RichEditContextMenuItemNames.InsertTableColumnToTheRight Field
Gets the Insert Table Column to the Right item’s name.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.2.dll
NuGet Package: DevExpress.Blazor.RichEdit
Declaration
public const string InsertTableColumnToTheRight = "InsertTableColumnToTheRight"
Field Value
Type | Description |
---|---|
String | The “InsertTableColumnToTheRight” string. |
Remarks
Use this property to perform the following operations with the Insert Table Column to the Right 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 Column to the Right item is a context menu item in the Insert Table Elements Menu. The item inserts a column to the right of the selected column.
The following code snippet removes the Insert Table Column to the Right 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.InsertTableColumnToTheRight);
}
}
See Also