Class RibbonContextualTabs
Represents a container for one or more contextual tabs in the SfRibbon component.
Inherited Members
Namespace: Syncfusion.Blazor.Ribbon
Assembly: Syncfusion.Blazor.dll
Syntax
public class RibbonContextualTabs : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Remarks
The RibbonContextualTabs component is used to define and manage a collection of contextual tabs that appear conditionally based on the application state or user selection (e.g., when a specific object or mode is active).
Contextual tabs are displayed only when relevant, helping to reduce ribbon clutter and provide task-specific commands. This container automatically registers its child RibbonContextualTab elements with the parent SfRibbon and updates the ribbon when tabs are added.
Examples
Below is an example of adding contextual tabs to the SfRibbon:
Constructors
RibbonContextualTabs()
Declaration
public RibbonContextualTabs()
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTreeBuilder | __builder |
Overrides
Dispose(bool)
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |