Class RibbonItems
Represents a container for one or more RibbonItem instances within a RibbonCollection in the SfRibbon component.
Inherited Members
Namespace: Syncfusion.Blazor.Ribbon
Assembly: Syncfusion.Blazor.dll
Syntax
public class RibbonItems : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Remarks
The RibbonItems component is used to define and manage the actual interactive elements (buttons, dropdowns, checkboxes, color pickers, etc.) that appear inside a ribbon collection.
It automatically registers its child RibbonItem elements with the parent collection and ribbon, enabling proper rendering, responsive resizing, overflow handling, and layout management.
This component is typically used declaratively by nesting <RibbonItem> elements inside <RibbonItems>
within a <RibbonCollection>.
Examples
@using Syncfusion.Blazor.Ribbon
<code><![CDATA[
<SfRibbon>
<RibbonTabs>
<RibbonTab HeaderText="Home">
<RibbonGroups>
<RibbonGroup HeaderText="Clipboard">
<RibbonCollections>
<RibbonCollection>
<RibbonItems>
<RibbonItem Type="RibbonItemType.Button">
<RibbonButtonSettings Content="Cut" IconCss="e-icons e-cut" />
</RibbonItem>
<RibbonItem Type="RibbonItemType.Button">
<RibbonButtonSettings Content="Copy" IconCss="e-icons e-copy" />
</RibbonItem>
<RibbonItem Type="RibbonItemType.Button">
<RibbonButtonSettings Content="Format Painter" IconCss="e-icons e-format-painter" />
</RibbonItem>
</RibbonItems>
</RibbonCollection>
</RibbonCollections>
</RibbonGroup>
</RibbonGroups>
</RibbonTab>
</RibbonTabs>
</SfRibbon>
Constructors
RibbonItems()
Declaration
public RibbonItems()
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()