Blazorise Tabs component
Tabs organize content across different screens, data sets, and other interactions.
API
Parameters
Parameter | Description | Type | Default |
---|---|---|---|
ChildContent |
Specifies the content to be rendered inside this Tabs. |
RenderFragment | null |
Content |
Container for tab panes. |
RenderFragment | null |
FullWidth |
Makes the tab items to extend the full available width. |
bool | false |
Items |
Container for tab items. |
RenderFragment | null |
Justified |
Makes the tab items to extend the full available width, but every item will be the same width. |
bool | false |
Pills |
Makes the tab items to appear as pills. |
bool | false |
RenderMode |
Defines how the tabs content will be rendered. Possible values: |
TabsRenderMode | TabsRenderMode.Default |
SelectedTab |
Gets or sets currently selected tab name. |
string | |
TabPosition |
Position of tab items. Possible values: |
TabPosition | TabPosition.Top |
VerticalItemsColumnSize |
Controls the size of the items bar when in vertical mode. If left undefined it will default to the |
IFluentColumn | null |
Events
Event | Description | Type |
---|---|---|
SelectedTabChanged |
Occurs after the selected tab has changed. |
EventCallback<string> |
Methods
Method | Description | Return | Parameters |
---|---|---|---|
SelectTab |
Sets the active tab by the name. | Task | string tabName |