HtmlForgeX

API Reference

Class

TablerHeight

Namespace HtmlForgeX
Assembly HtmlForgeX

Typed height dimension for Tabler components

Inheritance

  • Object
  • TablerHeight

Methods

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

Height in em units

Parameters

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

Height in percentage

Parameters

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

Height in pixels

Parameters

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

Height in rem units

Parameters

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

Returns the string representation of the height

Returns

Height value as string

public static TablerHeight ViewportHeight(Int32 vh) #
Returns: TablerHeight

Height in viewport height units

Parameters

vh System.Int32 requiredposition: 0

Properties

public static TablerHeight Auto { get; } #

Auto height

public static TablerHeight Full { get; } #

Full height (100%)

public static TablerHeight FitContent { get; } #

Fit content height

public static TablerHeight MinContent { get; } #

Min content height

public static TablerHeight MaxContent { get; } #

Max content height