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