blazor-devexpress-dot-blazor-dot-office-03e81dde.md
A tab on the Rich Text Editor‘s ribbon.
Namespace : DevExpress.Blazor.Office
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
public interface IRibbonTab :
IBarItemBase
The following members return IRibbonTab objects:
The Rich Text Editor displays the built-in ribbon that consists of multiple tabs. The IRibbonTab interface defines an individual ribbon tab. Use the interface properties to change the tab’s visibility and appearance.
The following code snippet customizes the Layout tab.
<DxRichEdit CustomizeRibbon=OnCustomizeRibbon />
@code {
void OnCustomizeRibbon(IRibbon ribbon) {
IRibbonTab tableTab = ribbon.Tabs[RichEditRibbonTabNames.TableLayout];
tableTab.Text = "Table";
tableTab.GetVisible = () => true;
tableTab.Groups.AddCustomGroup(0).Items.Add(RichEditBarItemNames.ShowInsertTableDialog);
}
}
Run Demo: Ribbon Customization
See Also