Class RibbonTab
A class that represents tabs of SfRibbon component.
Inherited Members
Namespace: Syncfusion.Blazor.Ribbon
Assembly: Syncfusion.Blazor.dll
Syntax
public class RibbonTab : SfBaseComponent
Constructors
RibbonTab()
Declaration
public RibbonTab()
Properties
ChildContent
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
CssClass
Gets or sets one or more CSS classes to customize the RibbonTab.
Declaration
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts a CSS class string separated by spaces to customize the appearance of the RibbonTab.
The default value is |
Remarks
This property allows you to specify one or more CSS classes that will be applied to the RibbonTab.
Groups
Declaration
public List<RibbonGroup> Groups { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<RibbonGroup> |
HeaderText
Gets or sets the header text of the RibbonTab.
Declaration
public string HeaderText { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts a string that represents the header text of the RibbonTab.
The default value is |
Remarks
This property allows you to specify the text that will be displayed as the header for the RibbonTab.
ID
Gets or sets the unique ID for the RibbonTab.
Declaration
public string ID { get; set; }
Property Value
Type | Description |
---|---|
System.String | The ID of the RibbonTab. The default value is |
Remarks
This property allows you to assign a unique identifier to the RibbonTab.
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 |