blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbongroupnames-2838f8d8.md
Gets the name of the Insert tab’s Header and Footer group.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public static string InsertHeaderAndFooter { get; }
| Type | Description |
|---|---|
| String |
The “InsertHeaderAndFooter” string.
|
The Header and Footer group is in the Insert tab and includes the following items:
Insert Page CountA button that allows users to insert the total number of pages at the caret position.Insert Page FooterA button that allows users to create and edit footers.Insert Page HeaderA button that allows users to create and edit headers.Insert Page NumberA button that allows users to insert the number of the current page at the caret position.
Use the InsertHeaderAndFooter property to perform the following operations:
The following code snippet removes an item from this group.
<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
RichEditRibbonGroupNames Class