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

RichEditRibbonTabNames.HeaderAndFooter Property

Gets the Header and Footer tab’s name.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

#Declaration

C#
public static string HeaderAndFooter { get; }

#Property Value

Type Description
String

The “HeaderAndFooter” string.

#Remarks

The Header and Footer tab is a contextual tab that appears when a user selects a header or footer. This tab includes the following groups:

Close
Allows users to close this tab.
Navigation
Allows users to navigate through headers and footers.
Options
Allows users to create a unique header and footer for the first page and display different headers and footers for odd and even pages.
Position
Allows users to change the position of headers and footers.

Header Footer Tab

Use this property to perform the following operations with the Header and Footer tab:

The following code snippet removes an item from this tab’s group:

Razor
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

@code {
    void onCustomizeRibbon(IRibbon ribbon) {
        string tabName = RichEditRibbonTabNames.HeaderAndFooter;
        string groupName = RichEditRibbonGroupNames.HeaderAndFooterNavigation;
        string itemName = RichEditBarItemNames.LinkToPreviousHeaderFooter;
        ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
    }
}
See Also