Class RibbonCollection
Inherited Members
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 |
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 |
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
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |