Skip to main content

RichEditBarItemNames.InsertPageHeader Property

Gets the Insert Page Header item’s name.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string InsertPageHeader { get; }

Property Value

Type Description
String

The “InsertPageHeader” string.

Remarks

Use this property to perform the following operations:

The Insert Page Header item is a button in the Header and Footer group. This button allows users to create and edit headers.

The example below demonstrates how to remove the Insert Page Header item from the ribbon:

<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

@code {
    void onCustomizeRibbon(IRibbon ribbon) {
        string tabName = RichEditRibbonTabNames.Insert;
        string groupName = RichEditRibbonGroupNames.InsertHeaderAndFooter;
        string itemName = RichEditBarItemNames.InsertPageHeader;
        ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
    }
}
See Also