Back to Devexpress

RichEditRibbonTabNames.TableDesign Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbontabnames-5df82c94.md

latest2.6 KB
Original Source

RichEditRibbonTabNames.TableDesign Property

Gets the Design tab’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string TableDesign { get; }

Property Value

TypeDescription
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 ShadingsAllows users to customize borders of table cells.Table Style OptionsAllows users to display specific formatting for the first, odd, and last columns and rows.Table StylesAllows users to change the style of a table.

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

The following code snippet removes an item from this tab’s group:

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

RichEditRibbonTabNames Class

RichEditRibbonTabNames Members

DevExpress.Blazor.RichEdit Namespace