Back to Devexpress

RibbonTabCollectionBuilder<TTabCollectionBuilder, TTabInfoBuilder, TItemCollectionBuilder>.Clear() Method

aspnetcore-devexpress-dot-aspnetcore-dot-office-dot-ribbontabcollectionbuilder-3.md

latest1.3 KB
Original Source

RibbonTabCollectionBuilder<TTabCollectionBuilder, TTabInfoBuilder, TItemCollectionBuilder>.Clear() Method

Removes all tabs from the ribbon tab collection.

Namespace : DevExpress.AspNetCore.Office

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

NuGet Package : DevExpress.AspNetCore.Common

Declaration

csharp
public TTabCollectionBuilder Clear()

Returns

TypeDescription
TTabCollectionBuilder

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

|

Remarks

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

See Also

Online Demo - Ribbon Customization

RibbonTabCollectionBuilder<TTabCollectionBuilder, TTabInfoBuilder, TItemCollectionBuilder> Class

RibbonTabCollectionBuilder<TTabCollectionBuilder, TTabInfoBuilder, TItemCollectionBuilder> Members

DevExpress.AspNetCore.Office Namespace