HtmlForgeX

API Reference

Enum

LineStyle

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Common CSS line styles usable for borders or text decorations.

Inheritance

  • Enum
  • LineStyle

Values

public const LineStyle None #

No line is rendered.

Value: 0
public const LineStyle Solid #

Solid continuous line.

Value: 1
public const LineStyle Dashed #

Dashed line sequence.

Value: 2
public const LineStyle Dotted #

Dotted line sequence.

Value: 3

Extension Methods

public static String ToCssValue(LineStyle style) #
Returns: String

Returns the CSS representation for the provided style.

Parameters

style HtmlForgeX.LineStyle requiredposition: 0
public static DtBorderStyle ToDtBorderStyle(LineStyle style) #
Returns: DtBorderStyle

Converts the shared enum back to the legacy DtBorderStyle.

Parameters

style HtmlForgeX.LineStyle requiredposition: 0
public static String ToTablerBorderClass(LineStyle style, TablerBorderPosition position = All, TablerBorderWidth width = Default) #
Returns: String

Initializes or configures ToTablerBorderClass.

Parameters

style HtmlForgeX.TablerBorderStyle requiredposition: 0
position HtmlForgeX.TablerBorderPosition = All optionalposition: 1
width HtmlForgeX.TablerBorderWidth = Default optionalposition: 2
public static TablerBorderStyle ToTablerBorderStyle(LineStyle style) #
Returns: TablerBorderStyle

Converts a shared LineStyle into the Tabler-specific enum.

Parameters

style HtmlForgeX.LineStyle requiredposition: 0