Skip to main content

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

Retrieves a specific tab from the collection.

Namespace: DevExpress.AspNetCore.Office

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

Declaration

public TTabInfoBuilder GetByName(
    string name
)

Parameters

Name Type Description
name String

The name of the tab.

Returns

Type Description
TTabInfoBuilder

The tab builder.

Remarks

@(Html.DevExpress().RichEdit("richEdit")
    .Ribbon(ribbon => ribbon
        .Tabs(tabs => {
            tabs.GetByName("Home")
                .Items(items => {
                    // removes the first item on the Home tab
                    items.RemoveAt(0);
                    // ...
See Also