HtmlForgeX

API Reference

Class

TablerWidth

Namespace HtmlForgeX
Assembly HtmlForgeX

Typed width dimension for Tabler components

Inheritance

  • Object
  • TablerWidth

Methods

public static TablerWidth Em(Double em) #
Returns: TablerWidth

Width in em units

Parameters

em System.Double requiredposition: 0
public static TablerWidth Percent(Int32 percent) #
Returns: TablerWidth

Width in percentage

Parameters

percent System.Int32 requiredposition: 0
public static TablerWidth Pixels(Int32 pixels) #
Returns: TablerWidth

Width in pixels

Parameters

pixels System.Int32 requiredposition: 0
public static TablerWidth Rem(Double rem) #
Returns: TablerWidth

Width in rem units

Parameters

rem System.Double requiredposition: 0
public override String ToString() #
Returns: String

Returns the string representation of the width

Returns

Width value as string

public static TablerWidth ViewportWidth(Int32 vw) #
Returns: TablerWidth

Width in viewport width units

Parameters

vw System.Int32 requiredposition: 0

Properties

public static TablerWidth Auto { get; } #

Auto width

public static TablerWidth Full { get; } #

Full width (100%)

public static TablerWidth FitContent { get; } #

Fit content width

public static TablerWidth MinContent { get; } #

Min content width

public static TablerWidth MaxContent { get; } #

Max content width