Skip to main content

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

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:

<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