Class RibbonGroups
Represents a container for one or more RibbonGroup instances within a RibbonTab or RibbonContextualTab in the SfRibbon component.
Inherited Members
Namespace: Syncfusion.Blazor.Ribbon
Assembly: Syncfusion.Blazor.dll
Syntax
public class RibbonGroups : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Remarks
The RibbonGroups component serves as a structural wrapper that allows multiple RibbonGroup elements to be defined inside a single ribbon tab. It provides a clean and organized way to group related commands.
It automatically registers itself with the parent tab via a cascading parameter and maintains an internal list of child groups. Whenever a group is added or removed, it updates the parent tab to ensure correct rendering and layout calculation.
This component is typically used declaratively by nesting <RibbonGroup> elements inside <RibbonGroups>.
Examples
@using Syncfusion.Blazor.Ribbon
<code><![CDATA[
<SfRibbon>
<RibbonTabs>
<RibbonTab HeaderText="Home">
<RibbonGroups>
<RibbonGroup HeaderText="Clipboard">
<RibbonCollections>
<RibbonCollection>
<!--Collection items to be here -->
</RibbonCollection>
</RibbonCollections>
</RibbonGroup>
</RibbonGroups>
</RibbonTab>
</RibbonTabs>
</SfRibbon>
Constructors
RibbonGroups()
Declaration
public RibbonGroups()
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 |
Overrides
OnInitialized()
Declaration
protected override void OnInitialized()