Skip to main content

RichEditBarItemNames.DifferentFirstPage Property

Gets the Different First Page item’s name.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string DifferentFirstPage { get; }

Property Value

Type Description
String

The “DifferentFirstPage” string.

Remarks

Use this property to perform the following operations:

The Different First Page item is a checkable button in the Options group. The button allows users to create a unique header and footer for a section‘s first page. The Rich Text Editor disables this button when no header or footer is selected.

The example below demonstrates how to remove the Different First Page item from the ribbon:

<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

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