Skip to main content

RichEditRibbonTabNames.TableDesign Property

Gets the Design tab’s name.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string TableDesign { get; }

Property Value

Type Description
String

The “TableDesign” string.

Remarks

The Design tab is a contextual tab that appears when a user selects a table. This tab includes the following groups:

Borders and Shadings
Allows users to customize borders of table cells.
Table Style Options
Allows users to display special formatting for the first, odd, and last columns and rows.
Table Styles
Allows users to change the style of a table.

Design Tab

Use this property to perform the following operations with the Design tab:

The example below demonstrates how to remove an item from this tab’s group:

<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

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