Fundamentals
Components
Code Utilities
Demo
BcTab & BcTabContainer
Description
The `BcTab` and `BcTabContainer` components provide a simple way to implement tabbed navigation in Blazor applications.
BcTab Parameters
Title
string
The title of the tab displayed in the header.
ChildContent
RenderFragment?
The content that will be displayed inside the tab.
BcTabContainer Methods
AddTab ( BcTab tab )
Adds a `BcTab` instance to the `BcTabContainer`.
void
RemoveTab ( BcTab tab )
Removes a `BcTab` instance from the `BcTabContainer`.
void
SelectTab ( BcTab tab )
Selects a specific `BcTab` instance as the active tab.
void
IsSelectedTab ( )
Evaluates if the given tab is the selected one.
bool