Back to Devexpress

RichEditRibbonTabNames.PageLayout Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbontabnames-64b1427d.md

latest2.3 KB
Original Source

RichEditRibbonTabNames.PageLayout Property

Gets the Page 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 PageLayout { get; }

Property Value

TypeDescription
String

The “Page Layout” string.

|

Remarks

The Page Layout tab includes the following groups:

BackgroundAllows users to the change the page color of the selected sections.Page SetupAllows users to change page settings of the selected sections and insert page, section, or column breaks.

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:

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

RichEditRibbonTabNames Class

RichEditRibbonTabNames Members

DevExpress.Blazor.RichEdit Namespace