blazor-devexpress-dot-blazor-dot-richedit-085787fb.md
Contains types of context tabs.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public static class RichEditRibbonContextTabType
A context tab is a hidden tab that appears after a user selects one of the following objects:
Pass the RichEditRibbonContextTabType class’s property to an AddCustomTab method overload to create a custom context tab. The following code snippet creates a custom tab that appears after a user selects a table:
<DxRichEdit CustomizeRibbon=OnCustomizeRibbon />
@code {
void OnCustomizeRibbon(IRibbon ribbon) {
IRibbonTab tableTab = ribbon.Tabs.AddCustomTab("Table", RichEditRibbonContextTabType.Table);
tableTab.Groups.Add(RichEditRibbonGroupNames.LayoutRowsAndColumns);
tableTab.Groups.Add(RichEditRibbonGroupNames.DesignBordersAndShadings);
}
}
You cannot create a custom context tab type or change the type of an existing tab. Use a tab’s GetVisible property to change the display criteria for this tab.
Object RichEditRibbonContextTabType
See Also