Skip to main content

RichEditRibbonTabNames.PageLayout Property

Gets the Page Layout tab’s name.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string PageLayout { get; }

Property Value

Type Description
String

The “Page Layout” string.

Remarks

The Page Layout tab includes the following groups:

Background
Allows users to the change the page color of the selected sections.
Page Setup
Allows users to change page settings of the selected sections and insert page, section, or column breaks.

PageLayout Tab

Use this property to perform the following operations with the Page 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.PageLayout;
        string groupName = RichEditRibbonGroupNames.PageSetup;
        string itemName = RichEditBarItemNames.PageColumnsMenu;
        ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
    }
}
See Also