blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbontabnames-bff0e167.md
Gets the Layout tab’s name.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public static string TableLayout { get; }
| Type | Description |
|---|---|
| String |
The “TableLayout” string.
|
The Layout tab is a contextual tab that appears when a user selects a table. This tab includes the following groups:
AlignmentAllows users to align the text in table cells.AutoFitAllows users to automatically resize columns in a table.MergeAllows users to merge or split table cells.Rows and ColumnsAllows users to insert or delete rows and columns.TableAllows users to select a cell, row, column, or table and show or hide table gridlines.
Use this property to perform the following operations with the Layout tab:
The following code snippet removes an item from this tab’s group:
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />
@code {
void onCustomizeRibbon(IRibbon ribbon) {
string tabName = RichEditRibbonTabNames.TableLayout;
string groupName = RichEditRibbonGroupNames.LayoutTable;
string itemName = RichEditBarItemNames.ShowTableGridlines;
ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
}
}
See Also