Back to Devexpress

RichEditContextMenuItemNames.InsertTableColumnToTheLeft Field

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditcontextmenuitemnames-08f8c251.md

latest2.5 KB
Original Source

RichEditContextMenuItemNames.InsertTableColumnToTheLeft Field

Gets the Insert Table Column to the Left item’s name.

Namespace : DevExpress.Blazor.RichEdit

Assembly : DevExpress.Blazor.RichEdit.v25.2.dll

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public const string InsertTableColumnToTheLeft = "InsertTableColumnToTheLeft"

Field Value

TypeDescription
String

The “InsertTableColumnToTheLeft” string.

|

Remarks

Use this property to perform the following operations with the Insert Table Column to the Left item:

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:

razor
<DxRichEdit CustomizeContextMenu="OnCustomizeContextMenu"/>

@code {
    void OnCustomizeContextMenu(IContextMenuItemCollection items) {
        IContextMenuItem tableElementsMenu = items[RichEditContextMenuItemNames.InsertTableElementsMenu];
        if(tableElementsMenu != null)
            tableElementsMenu.Items.Remove(RichEditContextMenuItemNames.InsertTableColumnToTheLeft);
    }
}

See Also

RichEditContextMenuItemNames Class

RichEditContextMenuItemNames Members

DevExpress.Blazor.RichEdit Namespace