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.
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.
KeyTip
Gets or sets the key tip text for the tab in the SfRibbon component.
Declaration
public string KeyTip { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | A string representing the key tip text for the tab. Defaults to an empty string. |
Remarks
The KeyTip property allows you to specify a keyboard shortcut for a particular tab in the
SfRibbon component. When key tips are enabled, users can press the associated key combination
to quickly access the corresponding tab.
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 |