Back to Devexpress

RichEditBarItemNames.TableStyles Property

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

latest2.0 KB
Original Source

RichEditBarItemNames.TableStyles Property

Gets the Table Styles item’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string TableStyles { get; }

Property Value

TypeDescription
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:

razor
<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

RichEditBarItemNames Class

RichEditBarItemNames Members

DevExpress.Blazor.RichEdit Namespace