Back to Devexpress

RichEditBarItemNames.SelectTableRow Property

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

latest2.9 KB
Original Source

RichEditBarItemNames.SelectTableRow Property

Gets the Select Table Row item’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string SelectTableRow { get; }

Property Value

TypeDescription
String

The “SelectTableRow” string.

|

Remarks

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

The Select Table Row item is a button in the Select Table Elements Menu. This button selects rows that contain the selected cells.

The following code snippet removes the Select Table Row item from the Select Table Elements Menu:

razor
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

@code {
    void onCustomizeRibbon(IRibbon ribbon) {
        IBarItem selectTableElementsMenu = ribbon.Tabs[RichEditRibbonTabNames.TableLayout]
        .Groups[RichEditRibbonGroupNames.LayoutTable]
        .Items[RichEditBarItemNames.SelectTableElementsMenu];
        if (selectTableElementsMenu.Type == BarItemTypes.DropDown) {
            IBarDropDown selectTableElementsDropDown = (IBarDropDown)selectTableElementsMenu;
            selectTableElementsDropDown.Items.Remove(RichEditBarItemNames.SelectTable);
            selectTableElementsDropDown.Items.Remove(RichEditBarItemNames.SelectTableCell);
            selectTableElementsDropDown.Items.Remove(RichEditBarItemNames.SelectTableColumn);
            selectTableElementsDropDown.Items.Remove(RichEditBarItemNames.SelectTableRow);
        }
    }
}

See Also

RichEditBarItemNames Class

RichEditBarItemNames Members

DevExpress.Blazor.RichEdit Namespace