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 Interface

In This Article

The built-in ribbon for the Rich Text Editor.

Namespace: DevExpress.Blazor.Office

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public interface IRibbon

#Remarks

The IRibbon interface defines the Rich Text Editor‘s built-in ribbon. Use this interface in the CustomizeRibbon event.

The interface’s Tabs property allows you 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