RichEditRibbonTabNames.TableDesign Property
Gets the Design tab’s name.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.1.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.
Use this property to perform the following operations with the Design tab:
The following code snippet removes 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