Table of Contents

Class BOBStatCard

Namespace
BlazOrbit.Components
Assembly
BlazOrbit.dll
[GenerateComponentInfo]
public class BOBStatCard : BOBComponentBase, IHasSize
Inheritance
object
ComponentBase
BOBStatCard
Implements
Inherited Members

Constructors

BOBStatCard()

public BOBStatCard()

Properties

ChildContent

Custom value content (overrides Value).

[Parameter]
public RenderFragment? ChildContent { get; set; }

Property Value

RenderFragment

Delta

Delta string (e.g. "+12.4%"). Rendered next to the trend arrow.

[Parameter]
public string? Delta { get; set; }

Property Value

string

DeltaCaption

Caption appended after the delta (e.g. "vs last week").

[Parameter]
public string? DeltaCaption { get; set; }

Property Value

string

DeltaTrend

Trend direction. Drives palette accent + arrow icon.

[Parameter]
public BOBStatTrend DeltaTrend { get; set; }

Property Value

BOBStatTrend

Footnote

Footnote text rendered at the bottom (e.g. "Updated 5 min ago").

[Parameter]
public string? Footnote { get; set; }

Property Value

string

FootnoteContent

Custom footnote content (overrides Footnote).

[Parameter]
public RenderFragment? FootnoteContent { get; set; }

Property Value

RenderFragment

Icon

Optional icon rendered to the right of the label.

[Parameter]
public IconKey? Icon { get; set; }

Property Value

IconKey?

Label

Headline label rendered above the value (e.g. "Active users").

[Parameter]
public string? Label { get; set; }

Property Value

string

Size

Visual size of the card.

[Parameter]
public BOBSize Size { get; set; }

Property Value

BOBSize

Sparkline

Slot for an inline sparkline (e.g. BOBLineChart Sparkline=true).

[Parameter]
public RenderFragment? Sparkline { get; set; }

Property Value

RenderFragment

Value

Big stat value. Ignored when ChildContent is provided.

[Parameter]
public string? Value { get; set; }

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder