HtmlForgeX

API Reference

Class

TablerLogs

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element

Displays code or log snippets with optional themed styling.

Inheritance

Constructors

TablerLogs 3 overloads
public TablerLogs(List<String> code) #

Initializes or configures TablerLogs.

Parameters

code System.String requiredposition: 0
public TablerLogs(String[] code) #

Initializes or configures TablerLogs.

Parameters

code System.String[] requiredposition: 0
TablerLogs(System.Collections.Generic.List{System.String} code) #

Initializes or configures TablerLogs.

Parameters

code System.Collections.Generic.List{System.String} required

Methods

CustomColors 2 overloads
public TablerLogs CustomColors(RGBColor backgroundColor, RGBColor textColor) #
Returns: TablerLogs

Initializes or configures CustomColors.

Parameters

backgroundColor HtmlForgeX.RGBColor requiredposition: 0
textColor HtmlForgeX.RGBColor requiredposition: 1
public TablerLogs CustomColors(String backgroundColorHex, String textColorHex) #
Returns: TablerLogs

Initializes or configures CustomColors.

Parameters

backgroundColorHex System.String requiredposition: 0
textColorHex System.String requiredposition: 1
public TablerLogs CustomTheme(String backgroundClass, String textClass) #
Returns: TablerLogs

Initializes or configures CustomTheme.

Parameters

backgroundClass System.String requiredposition: 0
textClass System.String requiredposition: 1
public TablerLogs MaxHeight(String cssHeight) #
Returns: TablerLogs

Constrain log viewport height (adds vertical scrolling within the log area).

Parameters

cssHeight System.String requiredposition: 0
public TablerLogs NoWrap(Boolean enable = true) #
Returns: TablerLogs

Disable wrapping and use horizontal scroll instead.

Parameters

enable System.Boolean = true optionalposition: 0
public TablerLogs Theme(TablerLogsTheme theme) #
Returns: TablerLogs

Initializes or configures Theme.

Parameters

theme HtmlForgeX.TablerLogsTheme requiredposition: 0
public TablerLogs Title(HeaderLevelTag level, String title) #
Returns: TablerLogs

Initializes or configures Title.

Parameters

level HtmlForgeX.HeaderLevelTag requiredposition: 0
title System.String requiredposition: 1
public override String ToString() #
Returns: String

Initializes or configures ToString.