HtmlForgeX

API Reference

Struct

DtBorderSpec

Namespace HtmlForgeX
Assembly HtmlForgeX
Base ValueType
Modifiers sealed

Typed border specification used by the DataTables highlighter.

Inheritance

  • ValueType
  • DtBorderSpec

Constructors

DtBorderSpec 2 overloads
public DtBorderSpec(DtBorderWidth width, DtBorderStyle style, RGBColor color) #
Obsolete("Use the constructor that accepts LineStyle.")

Creates a typed border specification.

Parameters

width HtmlForgeX.DtBorderWidth requiredposition: 0
style HtmlForgeX.LineStyle requiredposition: 1
color HtmlForgeX.RGBColor requiredposition: 2
DtBorderSpec(HtmlForgeX.DtBorderWidth width, HtmlForgeX.DtBorderStyle style, HtmlForgeX.RGBColor color) #

Creates a typed border specification using the legacy enum.

Parameters

width HtmlForgeX.DtBorderWidth required
style HtmlForgeX.DtBorderStyle required
color HtmlForgeX.RGBColor required

Methods

public String ToCssValue() #
Returns: String

Returns the CSS border shorthand value (e.g., "1px solid #000").

Properties

public DtBorderWidth Width { get; } #

Border thickness.

public LineStyle LineStyle { get; } #

Shared line style representation.

public RGBColor Color { get; } #

Border color.

public DtBorderStyle Style { get; } #
Obsolete("Use LineStyle property instead.") EditorBrowsable(1)

Legacy DataTables style mapping for compatibility.