HtmlForgeX

API Reference

Class

TablerLogs

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element

Displays code or log snippets with optional themed styling.

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

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
EditorBrowsable(2)

Initializes or configures CustomColors.

Parameters

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

Initializes or configures CustomTheme.

Parameters

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

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

Type Parameters

THeight

Parameters

cssHeight System.String requiredposition: 0
MaxHeight``1(``0 height) #

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

Parameters

height ``0 required
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.