blazor-devexpress-dot-blazor-dot-richedit-dot-richeditbaritemnames-829b5625.md
Gets the Insert Page Header item’s name.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public static string InsertPageHeader { get; }
| Type | Description |
|---|---|
| String |
The “InsertPageHeader” string.
|
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 following code snippet removes 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