Tab Class

Represents an individual tab within a Tabs component.

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public sealed class Tab : BlazorBootstrapComponentBase
Inheritance
Object    ComponentBase    BlazorBootstrapComponentBase    Tab

Constructors

TabInitializes a new instance of the Tab class

Properties

Active Retrieves whether the tab is active. If not set, the tab is not active.
ChildContent Gets or sets the content to be rendered within the component.
Disabled Retrieves whether the tab is disabled. If not set, the tab is always enabled.
OnClick This event fires when the user clicks the corresponding tab button and the tab is displayed.
Parent Gets or sets the parent.
TitleTemplate Gets or sets the tab title template.

Methods

SetParametersAsync Parameters are loaded manually for sake of performance; if we were to use System.Reflection magic, it would hurt performance if components were used in large numbers.
(Overrides ComponentBaseSetParametersAsync(ParameterView))

See Also