Back to Devexpress

RichEditRibbonGroupNames.InsertHeaderAndFooter Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbongroupnames-2838f8d8.md

latest3.3 KB
Original Source

RichEditRibbonGroupNames.InsertHeaderAndFooter Property

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

Declaration

csharp
public static string InsertHeaderAndFooter { get; }

Property Value

TypeDescription
String

The “InsertHeaderAndFooter” string.

|

Remarks

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.

razor
<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

RichEditRibbonGroupNames Members

DevExpress.Blazor.RichEdit Namespace