Back to Devexpress

RichEditRibbonGroupNames.PageSetup Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbongroupnames-ef2bc606.md

latest3.5 KB
Original Source

RichEditRibbonGroupNames.PageSetup Property

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

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string PageSetup { get; }

Property Value

TypeDescription
String

The “PageSetup” string.

|

Remarks

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

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

Use the PageSetup property to perform the following operations:

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

RichEditRibbonGroupNames Class

RichEditRibbonGroupNames Members

DevExpress.Blazor.RichEdit Namespace