Skip to main content

RichEditRibbonGroupNames.PageBackground Property

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

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string PageBackground { get; }

Property Value

Type Description
String

The “PageBackground” string.

Remarks

The Background group is in the Page Layout tab. This group includes the Page Color item that allows users to change the page color of the selected sections.

Background Group

Use the PageBackground property to perform the following operations:

The following code snippet removes this group from the Page Layout tab:

<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

@code {
    void onCustomizeRibbon(IRibbon ribbon) {
        string tabName = RichEditRibbonTabNames.PageLayout;
        string groupName = RichEditRibbonGroupNames.Background;
        ribbon.Tabs[tabName].Groups.Remove(groupName);
    }
}
See Also