HtmlForgeX

API Reference

Class

TablerPageActions

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element

Tabler page actions container for buttons and controls

Inheritance

Constructors

public TablerPageActions() #

Initializes a new instance of the TablerPageActions class

Methods

Button(System.String text, System.Action{HtmlForgeX.TablerButton} configure) #

Add a button with configuration

Parameters

text System.String required
configure System.Action{HtmlForgeX.TablerButton} required
public TablerPageActions Custom(Element element) #
Returns: TablerPageActions

Add custom element

Parameters

element HtmlForgeX.Element requiredposition: 0
public TablerPageActions Density(ControlBarDensity density) #
Returns: TablerPageActions

Sets the density of the action row.

Parameters

density HtmlForgeX.ControlBarDensity requiredposition: 0
public TablerPageActions Dropdown(String text, Action<TablerDropdown> configure) #
Returns: TablerPageActions

Add a dropdown

Parameters

text System.String requiredposition: 0
configure System.Action{HtmlForgeX.TablerDropdown} requiredposition: 1
public TablerPageActions NoAutoMargin() #
Returns: TablerPageActions

Disable automatic left margin

public TablerPageActions ShowOnPrint(Boolean show = true) #
Returns: TablerPageActions

Show actions when printing

Parameters

show System.Boolean = true optionalposition: 0
public override String ToString() #
Returns: String

Renders the page actions to HTML string

Returns

HTML representation of the page actions