HtmlForgeX

API Reference

Class

TablerCollectionToolbar

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

Dashboard-focused control row for collection surfaces such as ranked lists, roster lists, and display-first tables.

Inheritance

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Constructors

public TablerCollectionToolbar() #

Initializes a new toolbar with dashboard-friendly defaults.

Methods

ActionButton 2 overloads
public TablerCollectionToolbar ActionButton(String text, Action<TablerButton> configure = null) #
Returns: TablerCollectionToolbar

Adds a trailing action button.

Parameters

text System.String requiredposition: 0
configure System.Action{HtmlForgeX.TablerButton} = null optionalposition: 1
public TablerCollectionToolbar ActionButton(String text, String href, Action<TablerButton> configure = null) #
Returns: TablerCollectionToolbar

Adds a trailing action button that links to another route.

Parameters

text System.String requiredposition: 0
href System.String requiredposition: 1
configure System.Action{HtmlForgeX.TablerButton} = null optionalposition: 2
public TablerCollectionToolbar ActionDropdown(String text, Action<TablerDropdown> configure) #
Returns: TablerCollectionToolbar

Adds a trailing dropdown for secondary actions so dense toolbars do not turn into rows of peer buttons.

Parameters

text System.String requiredposition: 0
configure System.Action{HtmlForgeX.TablerDropdown} requiredposition: 1
public TablerCollectionToolbar DensityOption(String text, Boolean active = false, Nullable<TablerIconType> icon = null, Action<TablerButton> configure = null) #
Returns: TablerCollectionToolbar

Adds a trailing density chip button.

Parameters

text System.String requiredposition: 0
active System.Boolean = false optionalposition: 1
icon System.Nullable{HtmlForgeX.TablerIconType} = null optionalposition: 2
configure System.Action{HtmlForgeX.TablerButton} = null optionalposition: 3
public TablerCollectionToolbar End(Element element) #
Returns: TablerCollectionToolbar

Adds a custom end-slot element.

Parameters

element HtmlForgeX.Element requiredposition: 0
public TablerCollectionToolbar Field(Element element) #
Returns: TablerCollectionToolbar

Adds a generic field element into the center field lane.

Parameters

element HtmlForgeX.Element requiredposition: 0
FilterChip 2 overloads
public TablerCollectionToolbar FilterChip(String text, Boolean active = false, TablerColor accent = Azure, Nullable<TablerIconType> icon = null, Action<TablerButton> configure = null) #
Returns: TablerCollectionToolbar

Adds a leading filter chip button.

Parameters

text System.String requiredposition: 0
active System.Boolean = false optionalposition: 1
accent HtmlForgeX.TablerColor = Azure optionalposition: 2
icon System.Nullable{HtmlForgeX.TablerIconType} = null optionalposition: 3
configure System.Action{HtmlForgeX.TablerButton} = null optionalposition: 4
public TablerCollectionToolbar FilterChip(String text, TablerCollectionFilter filter, Boolean active = false, TablerColor accent = Azure, Nullable<TablerIconType> icon = null, Action<TablerButton> configure = null) #
Returns: TablerCollectionToolbar

Adds a leading filter chip button with explicit collection filter tokens.

Parameters

text System.String requiredposition: 0
filter HtmlForgeX.TablerCollectionFilter requiredposition: 1
active System.Boolean = false optionalposition: 2
accent HtmlForgeX.TablerColor = Azure optionalposition: 3
icon System.Nullable{HtmlForgeX.TablerIconType} = null optionalposition: 4
configure System.Action{HtmlForgeX.TablerButton} = null optionalposition: 5
public TablerCollectionToolbar Records(String name, String selected, params Int32[] counts) #
Returns: TablerCollectionToolbar

Adds a records-per-page style selector with hidden label treatment.

Parameters

name System.String requiredposition: 0
selected System.String requiredposition: 1
counts System.Int32[] requiredposition: 2
RegisterLibraries() #
public TablerCollectionToolbar Search(String name, String placeholder = "Search", Action<TablerInput> configure = null) #
Returns: TablerCollectionToolbar

Adds a compact search field with hidden label treatment.

Parameters

name System.String requiredposition: 0
placeholder System.String = "Search" optionalposition: 1
configure System.Action{HtmlForgeX.TablerInput} = null optionalposition: 2
public TablerCollectionToolbar Settings(Action<TablerCollectionToolbarSettings> configure) #
Returns: TablerCollectionToolbar

Groups less-common layout toggles under a single fluent entry point.

Parameters

configure System.Action{HtmlForgeX.TablerCollectionToolbarSettings} requiredposition: 0
public TablerCollectionToolbar Start(Element element) #
Returns: TablerCollectionToolbar

Adds a custom start-slot element.

Parameters

element HtmlForgeX.Element requiredposition: 0
public TablerCollectionToolbar Toggle(Element element) #
Returns: TablerCollectionToolbar

Adds a custom trailing toggle element.

Parameters

element HtmlForgeX.Element requiredposition: 0
public override String ToString() #
Returns: String
public TablerCollectionToolbar View(String text, Boolean active = false, Nullable<TablerIconType> icon = null, Action<TablerButton> configure = null) #
Returns: TablerCollectionToolbar

Adds a leading view-mode chip button.

Parameters

text System.String requiredposition: 0
active System.Boolean = false optionalposition: 1
icon System.Nullable{HtmlForgeX.TablerIconType} = null optionalposition: 2
configure System.Action{HtmlForgeX.TablerButton} = null optionalposition: 3