API Reference
Class
TablerWidth
Typed width dimension for Tabler components
Inheritance
- Object
- TablerWidth
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method TablerWidth.Em
- Method TablerWidth.Percent
- Method TablerWidth.Pixels
- Method TablerWidth.Rem
- Method TablerWidth.ViewportWidth
- Property TablerWidth.Auto
- Property TablerWidth.FitContent
- Property TablerWidth.Full
- Property TablerWidth.MaxContent
- Property TablerWidth.MinContent
Accepted by parameters
- Extension method HtmlTag.MaxWidth
- Extension method HtmlTag.MinWidth
- Extension method HtmlTag.Width
- Method TablerDimensionExtensions.MaxWidth
- Method TablerDimensionExtensions.MinWidth
- Method TablerDimensionExtensions.Width
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