menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RibbonCollection - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RibbonCollection

    Inheritance
    System.Object
    SfBaseComponent
    RibbonCollection
    Inherited Members
    SfBaseComponent.Dispose()
    SfBaseComponent.OnAfterRenderAsync(Boolean)
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    Namespace: Syncfusion.Blazor.Ribbon
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class RibbonCollection : SfBaseComponent

    Constructors

    RibbonCollection()

    Declaration
    public RibbonCollection()

    Properties

    ChildContent

    Declaration
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type
    Microsoft.AspNetCore.Components.RenderFragment

    CssClass

    Gets or sets the CSS classes to customize the appearance of the RibbonCollection.

    Declaration
    public string CssClass { get; set; }
    Property Value
    Type Description
    System.String

    Accepts a string of CSS classes separated by spaces to customize the appearance of the RibbonCollection. The default value is String.Empty.

    Remarks

    This property allows you to apply one or more CSS classes to the RibbonCollection to change its appearance according to your design requirements.

    ID

    Gets or sets the unique ID for the RibbonCollection.

    Declaration
    public string ID { get; set; }
    Property Value
    Type Description
    System.String

    The ID of the RibbonCollection. The default value is String.Empty.

    Remarks

    This property specifies a unique identifier for the RibbonCollection. The ID can be used to reference the ribbon collection dynamically. Setting a unique ID is useful for scenarios where you need to uniquely identify the ribbon collection within the DOM, especially when dealing with multiple ribbon collections.

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Overrides
    SfBaseComponent.Dispose(Boolean)

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type
    System.Threading.Tasks.Task
    Overrides
    SfBaseComponent.OnInitializedAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved