Skip to main content

RichEditRibbonGroupNames.PageSetup Property

Gets the name of the Page Layout tab’s Page Setup group.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string PageSetup { get; }

Property Value

Type Description
String

The “PageSetup” string.

Remarks

The Page Setup group is in the Page Layout tab and includes the following items:

Page Breaks Menu
A drop-down menu that allows users to insert page, section, or column breaks.
Page Columns Menu
A drop-down menu that allows users to add or remove columns from pages of the selected sections.
Page Margins Menu
A drop-down menu that allows users to resize page margins of the selected sections.
Page Orientation Menu
A drop-down menu that allows users to change the page orientation of the selected sections.
Paper Size Menu
A drop-down menu that allows users to change the paper size of the selected sections.

Page Setup Group

Use the PageSetup property to perform the following operations:

The following code snippet removes an item from this 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