Skip to main content

RichEditBarItemNames.InsertTableRowAbove Property

Gets the Insert Table Row Above item’s name.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string InsertTableRowAbove { get; }

Property Value

Type Description
String

The “InsertTableRowAbove” string.

Remarks

Use this property to perform the following operations with the Insert Table Row Above item:

The Insert Table RowA bove item is a button in the Insert Table Elements Menu. This button inserts a column above the selected column.

The example below demonstrates how to remove the Insert Table Row Above item from the Insert Table Elements Menu:

<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