Skip to main content

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

Adds a new tab with the specified title to the end of the ribbon tab collection.

Namespace: DevExpress.AspNetCore.Office

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

NuGet Package: DevExpress.AspNetCore.Common

Declaration

public TTabInfoBuilder Add(
    string title
)

Parameters

Name Type Description
title String

The tab’s title.

Returns

Type Description
TTabInfoBuilder

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

Remarks

@(Html.DevExpress().RichEdit("richEdit")
    .Ribbon(ribbon => ribbon
        .Tabs(tabs => {
            tabs.Clear();
            tabs.Add("History")
                .Items(items => {
                //...  
See Also