Back to Devexpress

RichEditRibbonTabNames.TableLayout Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbontabnames-bff0e167.md

latest2.8 KB
Original Source

RichEditRibbonTabNames.TableLayout Property

Gets the Layout tab’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string TableLayout { get; }

Property Value

TypeDescription
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:

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:

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

RichEditRibbonTabNames Class

RichEditRibbonTabNames Members

DevExpress.Blazor.RichEdit Namespace