Back to Devexpress

RichEditRibbonGroupNames.PageBackground Property

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

latest2.4 KB
Original Source

RichEditRibbonGroupNames.PageBackground Property

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

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string PageBackground { get; }

Property Value

TypeDescription
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.

Use the PageBackground property to perform the following operations:

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

razor
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

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

See Also

RichEditRibbonGroupNames Class

RichEditRibbonGroupNames Members

DevExpress.Blazor.RichEdit Namespace