Skip to main content

RichEditBarItemNames.SelectTableColumn Property

Gets the Select Table Column item’s name.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string SelectTableColumn { get; }

Property Value

Type Description
String

The “SelectTableColumn” string.

Remarks

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

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

The example below demonstrates how to remove the Select Table Column item from the Select Table Elements Menu:

<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