IRibbonTab Interface
A tab on the Rich Text Editor‘s ribbon.
Namespace: DevExpress.Blazor.Office
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
public interface IRibbonTab :
IBarItemBase
Related API Members
The following members return IRibbonTab objects:
Remarks
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);
}
}
See Also