Skip to main content
All docs
V25.2
  • 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

    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