HtmlForgeX

API Reference

Class

TablerFileShareDownloadList

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

Downloadable file list for public or authenticated file-service share pages.

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

Methods

AddFile 2 overloads
public TablerFileShareDownloadList AddFile(String name, String description, String downloadUrl) #
Returns: TablerFileShareDownloadList

Adds a downloadable file row.

Parameters

name System.String requiredposition: 0
description System.String requiredposition: 1
downloadUrl System.String requiredposition: 2
public TablerFileShareDownloadList AddFile(String name, String description, String downloadUrl, Action<TablerFileShareDownloadItemBuilder> configure) #
Returns: TablerFileShareDownloadList

Adds a downloadable file row.

Parameters

name System.String requiredposition: 0
description System.String requiredposition: 1
downloadUrl System.String requiredposition: 2
configure System.Action{HtmlForgeX.TablerFileShareDownloadList.TablerFileShareDownloadItemBuilder} requiredposition: 3
public TablerFileShareDownloadList DownloadText(String text) #
Returns: TablerFileShareDownloadList
EditorBrowsable(2)

Sets button text.

Parameters

text System.String requiredposition: 0
public TablerFileShareDownloadList Empty(String title, String description = null) #
Returns: TablerFileShareDownloadList
EditorBrowsable(2)

Sets empty-state text.

Parameters

title System.String requiredposition: 0
description System.String = null optionalposition: 1
public TablerFileShareDownloadList ProtectedDownloads(String csrfToken, String shareAccessGrant = null, String csrfFieldName = "csrf", String shareAccessGrantFieldName = "shareAccessGrant") #
Returns: TablerFileShareDownloadList
EditorBrowsable(2)

Configures protected download posts with a server-issued access grant.

Parameters

csrfToken System.String requiredposition: 0
shareAccessGrant System.String = null optionalposition: 1
csrfFieldName System.String = "csrf" optionalposition: 2
shareAccessGrantFieldName System.String = "shareAccessGrant" optionalposition: 3
RegisterLibraries() #
public TablerFileShareDownloadList Settings(Action<TablerFileShareDownloadListSettings> configure) #
Returns: TablerFileShareDownloadList

Groups less-common display and protected-download options under a single fluent entry point.

Parameters

configure System.Action{HtmlForgeX.TablerFileShareDownloadListSettings} requiredposition: 0
public TablerFileShareDownloadList Title(String title) #
Returns: TablerFileShareDownloadList

Sets card title.

Parameters

title System.String requiredposition: 0
public override String ToString() #
Returns: String