Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenBadge

    RadzenBadge component.

    Inheritance
    System.Object
    RadzenComponent
    RadzenBadge
    Implements
    IDisposable
    Inherited Members
    RadzenComponent.Attributes
    RadzenComponent.Element
    RadzenComponent.MouseEnter
    RadzenComponent.MouseLeave
    RadzenComponent.ContextMenu
    RadzenComponent.Culture
    RadzenComponent.DefaultCulture
    RadzenComponent.OnMouseEnter()
    RadzenComponent.OnMouseLeave()
    RadzenComponent.OnContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.Style
    RadzenComponent.Visible
    RadzenComponent.GetCssClass()
    RadzenComponent.GetId()
    RadzenComponent.Debounce(Func<Task>, Int32)
    RadzenComponent.UniqueID
    RadzenComponent.JSRuntime
    RadzenComponent.IsJSRuntimeAvailable
    RadzenComponent.OnInitialized()
    RadzenComponent.SetParametersAsync(ParameterView)
    RadzenComponent.Reference
    RadzenComponent.OnAfterRenderAsync(Boolean)
    RadzenComponent.RaiseContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.RaiseMouseEnter()
    RadzenComponent.RaiseMouseLeave()
    RadzenComponent.Dispose()
    RadzenComponent.CurrentStyle
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenBadge : RadzenComponent, IDisposable
    Examples
    <RadzenBadge BadgeStyle="BadgeStyle.Primary" Text="Primary" />

    Properties

    BadgeStyle

    Gets or sets the badge style.

    Declaration
    public BadgeStyle BadgeStyle { get; set; }
    Property Value
    Type Description
    BadgeStyle

    The badge style.

    ChildContent

    Gets or sets the child content.

    Declaration
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type Description
    RenderFragment

    The child content.

    IsPill

    Gets or sets a value indicating whether this instance is pill.

    Declaration
    public bool IsPill { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is pill; otherwise, false.

    Shade

    Gets or sets the badge shade color.

    Declaration
    public Shade Shade { get; set; }
    Property Value
    Type Description
    Shade

    The badge shade color.

    Text

    Gets or sets the text.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    The text.

    Variant

    Gets or sets the badge variant.

    Declaration
    public Variant Variant { get; set; }
    Property Value
    Type Description
    Variant

    The badge variant.

    Methods

    GetComponentCssClass()

    Gets the component CSS class.

    Declaration
    protected override string GetComponentCssClass()
    Returns
    Type Description
    System.String
    Overrides
    RadzenComponent.GetComponentCssClass()

    Implements

    IDisposable

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT