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
Declaration
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