HtmlForgeX

API Reference

Class

TablerLightboxItem

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

Single tile inside TablerLightboxGallery.

Inheritance

Constructors

Methods

public TablerLightboxItem Alt(String text) #
Returns: TablerLightboxItem

Sets accessible alt text for the thumbnail.

Parameters

text System.String requiredposition: 0
public TablerLightboxItem Autoplay(Boolean enable = true) #
Returns: TablerLightboxItem
EditorBrowsable(2)

Controls FsLightbox autoplay behavior for this source.

Parameters

enable System.Boolean = true optionalposition: 0
public TablerLightboxItem Border(Boolean border = true) #
Returns: TablerLightboxItem

Controls whether the thumbnail has a border (default: true).

Parameters

border System.Boolean = true optionalposition: 0
public TablerLightboxItem Group(String group) #
Returns: TablerLightboxItem

Sets the FsLightbox group name (items with the same group are navigable).

Parameters

group System.String requiredposition: 0
public TablerLightboxItem Href(String href) #
Returns: TablerLightboxItem

Sets the target href for the lightbox (image/video URL).

Parameters

href System.String requiredposition: 0
public TablerLightboxItem Ratio(TablerCardImageSize ratio) #
Returns: TablerLightboxItem

Sets the thumbnail aspect ratio (Tabler img-responsive-*).

Parameters

ratio HtmlForgeX.TablerCardImageSize requiredposition: 0
public TablerLightboxItem Rounded(Boolean rounded = true) #
Returns: TablerLightboxItem

Controls whether the thumbnail is rounded (default: true).

Parameters

rounded System.Boolean = true optionalposition: 0
public TablerLightboxItem Thumbnail(String url) #
Returns: TablerLightboxItem

Sets the thumbnail image URL.

Parameters

url System.String requiredposition: 0
public override String ToString() #
Returns: String
public TablerLightboxItem Type(String type) #
Returns: TablerLightboxItem
EditorBrowsable(2)

Sets FsLightbox data-type (e.g., "youtube", "video").

Parameters

type System.String requiredposition: 0
public TablerLightboxItem VideoPoster(String url) #
Returns: TablerLightboxItem
EditorBrowsable(2)

Sets FsLightbox poster image for video sources.

Parameters

url System.String requiredposition: 0