Class BOBTab
- Namespace
- BlazOrbit.Components
- Assembly
- BlazOrbit.dll
[GenerateComponentInfo]
public class BOBTab : ComponentBase
- Inheritance
-
objectComponentBaseBOBTab
Constructors
BOBTab()
public BOBTab()
Properties
ChildContent
Content rendered inside the component.
[Parameter]
public RenderFragment? ChildContent { get; set; }
Property Value
- RenderFragment
Disabled
When true, the component is non-interactive.
[Parameter]
public bool Disabled { get; set; }
Property Value
- bool
Icon
Optional icon rendered next to the label.
[Parameter]
public RenderFragment? Icon { get; set; }
Property Value
- RenderFragment
Id
Stable identifier for the tab. Used to track activation. Required.
[Parameter]
[EditorRequired]
public string? Id { get; set; }
Property Value
- string
Label
Visible tab label. Required.
[Parameter]
[EditorRequired]
public string? Label { get; set; }
Property Value
- string
Parent
Parent BOBTabs container that owns this tab. Cascaded automatically.
[CascadingParameter]
public BOBTabs? Parent { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builderRenderTreeBuilder
Dispose()
public void Dispose()
OnInitialized()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.
protected override void OnInitialized()