HtmlForgeX

API Reference

Class

TablerPretextMasonry

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

Typed Pretext masonry wrapper for mixed-media cards.

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 TablerPretextMasonry() #

Methods

public TablerPretextMasonry AddCard(Action<TablerCard> configure) #
Returns: TablerPretextMasonry

Adds a measured card to the masonry layout.

Parameters

configure System.Action{HtmlForgeX.TablerCard} requiredposition: 0
public TablerPretextMasonry AddItem(Element element) #
Returns: TablerPretextMasonry

Adds an existing element to the masonry layout.

Parameters

element HtmlForgeX.Element requiredposition: 0
public TablerPretextMasonry Class(String cssClass) #
Returns: TablerPretextMasonry
EditorBrowsable(2)

Adds an advanced CSS class to the masonry wrapper.

Parameters

cssClass System.String requiredposition: 0
public TablerPretextMasonry Gap(Int32 pixels) #
Returns: TablerPretextMasonry
EditorBrowsable(2)

Sets the pixel gap between masonry cards.

Parameters

pixels System.Int32 requiredposition: 0
public TablerPretextMasonry Id(String id) #
Returns: TablerPretextMasonry
EditorBrowsable(2)

Sets the rendered element id.

Parameters

id System.String requiredposition: 0
public TablerPretextMasonry MinColumnWidth(Int32 pixels) #
Returns: TablerPretextMasonry
EditorBrowsable(2)

Sets the minimum column width in pixels.

Parameters

pixels System.Int32 requiredposition: 0
RegisterLibraries() #
public TablerPretextMasonry Settings(Action<TablerPretextMasonrySettings> configure) #
Returns: TablerPretextMasonry

Configures less-common masonry layout settings.

Parameters

configure System.Action{HtmlForgeX.TablerPretextMasonrySettings} requiredposition: 0
public override String ToString() #
Returns: String