API Reference
Struct
DtBorderSpec
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
- style HtmlForgeX.LineStyle
- color HtmlForgeX.RGBColor
DtBorderSpec(HtmlForgeX.DtBorderWidth width, HtmlForgeX.DtBorderStyle style, HtmlForgeX.RGBColor color) #Creates a typed border specification using the legacy enum.
Parameters
- width HtmlForgeX.DtBorderWidth
- style HtmlForgeX.DtBorderStyle
- color HtmlForgeX.RGBColor
Methods
public String ToCssValue() #Returns:
StringReturns the CSS border shorthand value (e.g., "1px solid #000").