Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IRibbon.Tabs Property

Returns a tab collection for the ribbon.

Namespace: DevExpress.Blazor.Office

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
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.

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