blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbontabnames-0a642596.md
Gets the Header and Footer tab’s name.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public static string HeaderAndFooter { get; }
| Type | Description |
|---|---|
| String |
The “HeaderAndFooter” string.
|
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:
<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