Back to Devexpress

RichEditContextMenuItemNames.InsertTableColumnToTheRight Field

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditcontextmenuitemnames-d42b71fb.md

latest2.5 KB
Original Source

RichEditContextMenuItemNames.InsertTableColumnToTheRight Field

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

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public const string InsertTableColumnToTheRight = "InsertTableColumnToTheRight"

Field Value

TypeDescription
String

The “InsertTableColumnToTheRight” string.

|

Remarks

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

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:

razor
<DxRichEdit CustomizeContextMenu="OnCustomizeContextMenu"/>

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

See Also

RichEditContextMenuItemNames Class

RichEditContextMenuItemNames Members

DevExpress.Blazor.RichEdit Namespace