blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbongroupnames-ef2bc606.md
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
public static string PageSetup { get; }
| Type | Description |
|---|---|
| String |
The “PageSetup” string.
|
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.
<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