Class MBBadge
A plus component badge placed at the top right of the containing div, overlapping the corner, but inside margin and padding..
public class MBBadge : ComponentFoundation, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
- Inheritance
-
MBBadge
- Implements
- Inherited Members
Constructors
MBBadge()
public MBBadge()
Properties
BadgeStyle
The badge's style - see MBBadgeStyle, defaults to ValueBearing.
[Parameter]
public MBBadgeStyle BadgeStyle { get; set; }
Property Value
Exited
When true collapses the badge.
[Parameter]
public bool Exited { get; set; }
Property Value
Value
The button's density.
[Parameter]
public string Value { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
OnInitializedAsync()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.
Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.
protected override Task OnInitializedAsync()