HtmlForgeX

API Reference

Class

TablerBadgeButton

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element

Renders a button element with a colored badge next to the text.

Inheritance

Constructors

public TablerBadgeButton(String text, String badgeText, TablerColor badgeColor) #

Initializes or configures TablerBadgeButton.

Parameters

text System.String requiredposition: 0
badgeText System.String requiredposition: 1
badgeColor HtmlForgeX.TablerColor requiredposition: 2

Methods

public override String ToString() #
Returns: String

Initializes or configures ToString.

Properties

public String Text { get; set; } #

Gets or sets the main button label.

public String BadgeText { get; set; } #

Gets or sets the badge text displayed next to the label.

public TablerColor BadgeColor { get; set; } #

Gets or sets the badge background color.