API Reference
Class
TablerWidth
Typed width dimension for Tabler components
Inheritance
- Object
- TablerWidth
Methods
public static TablerWidth Em(Double em) #Returns:
TablerWidthWidth in em units
Parameters
- em System.Double
public static TablerWidth Percent(Int32 percent) #Returns:
TablerWidthWidth in percentage
Parameters
- percent System.Int32
public static TablerWidth Pixels(Int32 pixels) #Returns:
TablerWidthWidth in pixels
Parameters
- pixels System.Int32
public static TablerWidth Rem(Double rem) #Returns:
TablerWidthWidth in rem units
Parameters
- rem System.Double
public override String ToString() #Returns:
StringReturns the string representation of the width
Returns
Width value as string
public static TablerWidth ViewportWidth(Int32 vw) #Returns:
TablerWidthWidth in viewport width units
Parameters
- vw System.Int32