Class RibbonCollection
Inheritance
Inherited Members
Namespace: Syncfusion.Blazor.Ribbon
Assembly: Syncfusion.Blazor.dll
Syntax
public class RibbonCollection : SfBaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
RibbonCollection()
Declaration
public RibbonCollection()
Properties
CssClass
Gets or sets the CSS classes to customize the appearance of the RibbonCollection.
Declaration
[Parameter]
public string CssClass { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Accepts a string of CSS classes separated by spaces to customize the appearance of the RibbonCollection.
The default value is |
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
[Parameter]
public string ID { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The ID of the RibbonCollection. The default value is |
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 |
|---|---|---|
| RenderTreeBuilder | __builder |
Overrides
Dispose(bool)
Dispose unmanaged resources in the Syncfusion Blazor component.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | Boolean value to dispose the object. |
Overrides
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing any asynchronous operation. |