Badge Class

The Blazor Bootstrap Badge component shows the small count and labels.
See Bootstrap Badge for more information.

Definition

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

Constructors

BadgeInitializes a new instance of the Badge class

Properties

ChildContent Gets or sets the content to be rendered within the component.
Color Gets or sets the badge color.
IndicatorType Gets or sets the badge indicator.
Placement Gets or sets the badge placement.
Position Gets or sets the badge position.
VisuallyHiddenText Gets or sets the visually hidden text.

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