Skip to main content

RichEditBarItemNames.TableStyles Property

Gets the Table Styles item’s name.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string TableStyles { get; }

Property Value

Type Description
String

The “TableStyles” string.

Remarks

Use this property to perform the following operations:

The Table Styles item is a combo box in the Table Style Options group. This combo box allows users to change the style of the selected table.

The following code snippet removes the Table Styles item from the ribbon:

<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

@code {
    void onCustomizeRibbon(IRibbon ribbon) {
        string tabName = RichEditRibbonTabNames.TableDesign;
        string groupName = RichEditRibbonGroupNames.DesignTableStyles;
        string itemName = RichEditBarItemNames.TableStyles;
        ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
    }
}
See Also