Back to Devexpress

RichEditRibbonTabNames.HeaderAndFooter Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbontabnames-0a642596.md

latest2.8 KB
Original Source

RichEditRibbonTabNames.HeaderAndFooter Property

Gets the Header and Footer tab’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string HeaderAndFooter { get; }

Property Value

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

CloseAllows users to close this tab.NavigationAllows users to navigate through headers and footers.OptionsAllows users to create a unique header and footer for the first page and display different headers and footers for odd and even pages.PositionAllows users to change the position of headers and footers.

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

RichEditRibbonTabNames Class

RichEditRibbonTabNames Members

DevExpress.Blazor.RichEdit Namespace