HtmlForgeX

API Reference

Class

TablerModalButton

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element

Represents a button within a TablerModal footer.

Inheritance

Constructors

public TablerModalButton(String text, TablerColor color) #

Initializes a new instance of the TablerModalButton class.

Parameters

text System.String requiredposition: 0
Button text.
color HtmlForgeX.TablerColor requiredposition: 1
Button color.

Methods

public TablerModalButton Dismiss() #
Returns: TablerModalButton

Marks this button as dismissing the modal.

public TablerModalButton Submit() #
Returns: TablerModalButton

Marks this button as submitting the modal form.

public override String ToString() #
Returns: String

Properties

public String Text { get; set; } #

Button label text.

public TablerColor Color { get; set; } #

Visual color of the button.