Back to Devexpress

IRibbon.Tabs Property

blazor-devexpress-dot-blazor-dot-office-dot-iribbon.md

latest1.4 KB
Original Source

IRibbon.Tabs Property

Returns a tab collection for the ribbon.

Namespace : DevExpress.Blazor.Office

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
RibbonTabCollection Tabs { get; }

Property Value

TypeDescription
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

IRibbon Interface

IRibbon Members

DevExpress.Blazor.Office Namespace