Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditRibbonGroupNames.InsertHeaderAndFooter Property

Gets the name of the Insert tab’s Header and Footer group.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

#Declaration

C#
public static string InsertHeaderAndFooter { get; }

#Property Value

Type Description
String

The “InsertHeaderAndFooter” string.

#Remarks

The Header and Footer group is in the Insert tab and includes the following items:

Insert Page Count
A button that allows users to insert the total number of pages at the caret position.
Insert Page Footer
A button that allows users to create and edit footers.
Insert Page Header
A button that allows users to create and edit headers.
Insert Page Number
A button that allows users to insert the number of the current page at the caret position.

Insert Header and Footer Group

Use the InsertHeaderAndFooter 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.Insert;
        string groupName = RichEditRibbonGroupNames.InsertHeaderAndFooter;
        string itemName = RichEditBarItemNames.InsertPageCount;
        ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
    }
}
See Also