Back to Devexpress

RichEditBarItemNames.InsertTableColumnToTheRight Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditbaritemnames-e906b8b8.md

latest3.0 KB
Original Source

RichEditBarItemNames.InsertTableColumnToTheRight Property

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 static string InsertTableColumnToTheRight { get; }

Property 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 button in the Insert Table Elements Menu. This button 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 CustomizeRibbon="onCustomizeRibbon" />

@code {
    void onCustomizeRibbon(IRibbon ribbon) {
        IBarItem insertTableElementsMenu = ribbon.Tabs[RichEditRibbonTabNames.TableLayout]
        .Groups[RichEditRibbonGroupNames.LayoutRowsAndColumns]
        .Items[RichEditBarItemNames.InsertTableElementsMenu];
        if (insertTableElementsMenu.Type == BarItemTypes.DropDown) {
            IBarDropDown insertTableElementsDropDown = (IBarDropDown)insertTableElementsMenu;
            insertTableElementsDropDown.Items.Remove(RichEditBarItemNames.InsertTableColumnToTheLeft);
            insertTableElementsDropDown.Items.Remove(RichEditBarItemNames.InsertTableColumnToTheRight);
            insertTableElementsDropDown.Items.Remove(RichEditBarItemNames.InsertTableRowAbove);
            insertTableElementsDropDown.Items.Remove(RichEditBarItemNames.InsertTableRowBelow);
        }
    }
}

See Also

RichEditBarItemNames Class

RichEditBarItemNames Members

DevExpress.Blazor.RichEdit Namespace