Skip to main content

RichEditRibbonTabNames.TableLayout Property

Gets the Layout tab’s name.

Namespace: DevExpress.Blazor.RichEdit

Assembly: DevExpress.Blazor.RichEdit.v24.1.dll

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string TableLayout { get; }

Property Value

Type Description
String

The “TableLayout” string.

Remarks

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

Alignment
Allows users to align the text in table cells.
AutoFit
Allows users to automatically resize columns in a table.
Merge
Allows users to merge or split table cells.
Rows and Columns
Allows users to insert or delete rows and columns.
Table
Allows users to select a cell, row, column, or table and show or hide table gridlines.

Layout Tab

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