Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RibbonTabCollectionBuilder<TTabCollectionBuilder, TTabInfoBuilder, TItemCollectionBuilder>.RemoveByTitle(String) Method

Removes a tab with the specified title from the ribbon tab collection.

Namespace: DevExpress.AspNetCore.Office

Assembly: DevExpress.AspNetCore.Common.v24.2.dll

NuGet Package: DevExpress.AspNetCore.Common

#Declaration

C#
public TTabCollectionBuilder RemoveByTitle(
    string title
)

#Parameters

Name Type Description
title String

The item title.

#Returns

Type Description
TTabCollectionBuilder

An object that can be used to further configure the tab collection.

#Remarks

@(Html.DevExpress().RichEdit("richEdit")
    .Ribbon(ribbon => ribbon
        .Tabs(tabs => {
            tabs.RemoveByTitle("References");
            //...

The RemoveByTitle method can remove a default ribbon tab specified by its initial title, regardless of whether you change or localize the title. The default tab titles are the following: File, Home, Insert, Page Layout, References, Mail Merge, View, Header & Footer, Design, Layout, and Format.

See Also