RichEditRibbonContextTabCategoriesBuilder.AddHeaderAndFooterContextTabCategory() Method

Adds the Header And Footer context tab category to the context tab category collection.

Namespace: DevExpress.AspNetCore.RichEdit

Assembly: DevExpress.AspNetCore.RichEdit.v21.1.dll

Declaration

public RichEditRibbonContextTabCategoryInfoBuilder AddHeaderAndFooterContextTabCategory()

Returns

Type Description
RichEditRibbonContextTabCategoryInfoBuilder

An object that can be used to further configure the added category.

Remarks

@(Html.DevExpress().RichEdit("richEdit")
    .Ribbon(ribbon => ribbon
        .ContextTabCategories(categories => {
            categories.Clear();
            categories.AddHeaderAndFooterContextTabCategory();
        })
        //...
See Also