Skip to main content
A newer version of this page is available. .

IRibbon.Tabs Property

Returns a tab collection for the ribbon.

Namespace: DevExpress.Blazor.Office

Assembly: DevExpress.Blazor.v22.1.dll

NuGet Package: DevExpress.Blazor

Declaration

RibbonTabCollection Tabs { get; }

Property Value

Type Description
RibbonTabCollection

The tab collection.

Remarks

Use the Tabs property to access the ribbon’s tab collection. You can obtain an individual tab by its name or index.

<DxRichEdit CustomizeRibbon=OnCustomizeRibbon />

@code {
    void OnCustomizeRibbon(IRibbon ribbon) {
        // Returns the tab with the index 0
        IRibbonTab firstTab = ribbon.Tabs[0];
        // Returns the Layout tab
        IRibbonTab tableTab = ribbon.Tabs[RichEditRibbonTabNames.TableLayout];
    }
}

Run Demo: Ribbon Customization

See Also