Skip to main content
All docs
V25.1
  • RichEditRibbonGroupNames.HeaderAndFooterClose Property

    Gets the name of the Header and Footer tab’s Close group.

    Namespace: DevExpress.Blazor.RichEdit

    Assembly: DevExpress.Blazor.RichEdit.v25.1.dll

    NuGet Package: DevExpress.Blazor.RichEdit

    Declaration

    public static string HeaderAndFooterClose { get; }

    Property Value

    Type Description
    String

    The “HeaderAndFooterClose” string.

    Remarks

    The Close group is in the Header and Footer tab. This group includes the Close Page Header Footer item that moves the caret to the beginning of the current page and closes the Header and Footer tab.

    Close Group

    Use the HeaderAndFooterClose property to perform the following operations:

    The following code snippet removes this group from the Header and Footer tab:

    <DxRichEdit CustomizeRibbon="onCustomizeRibbon" />
    
    @code {
        void onCustomizeRibbon(IRibbon ribbon) {
            string tabName = RichEditRibbonTabNames.HeaderAndFooter;
            string groupName = RichEditRibbonGroupNames.HeaderAndFooterClose;
            ribbon.Tabs[tabName].Groups.Remove(groupName);
        }
    }
    
    See Also