struct LengthUnit

in global :: Sandbox . UI

Possible units for various CSS properties that require length, used by struct.


public static LengthUnit Auto

The layout engine will calculate and select a width for the specified element.

public static LengthUnit Pixels

The length is in pixels.

public static LengthUnit Percentage

The length is a percentage (0-100) of the parent's length. (typically)

public static LengthUnit ViewHeight

The length is a percentage (0-100) of the viewport's height.

public static LengthUnit ViewWidth

The length is a percentage (0-100) of the viewport's width.

public static LengthUnit ViewMin

The length is a percentage (0-100) of the viewport's smallest side/edge.

public static LengthUnit ViewMax

The length is a percentage (0-100) of the viewport's largest side/edge.

public static LengthUnit Start

Start of the parent at the appropriate axis.

public static LengthUnit Cover

For background images, cover the entire element with the image, stretcing and cropping as necessary.

public static LengthUnit Contain

For background images, contain the image within the element bounds.

public static LengthUnit End

End of the parent at the appropriate axis.

public static LengthUnit Center

In the middle of the parent at the appropriate axis.

public static LengthUnit Undefined

Similar to CSS 'unset', basically means we don't have a value; should only really be used under certain circumstances (e.g. to handle background sizing properly).

public static LengthUnit Expression

Represents a calc( ... ) expression

public static LengthUnit RootEm

Font size of the root element.

public static LengthUnit Em

Font size of the current element.

public Type GetType( )

😔 No documentation found.

public TypeCode GetTypeCode( )

😔 No documentation found.

public string ToString( string format, IFormatProvider provider )

😔 No documentation found.

public string ToString( IFormatProvider provider )

😔 No documentation found.

public string ToString( string format )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public int CompareTo( object target )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public byte value__

😔 No documentation found.

public bool HasFlag( Enum flag )

😔 No documentation found.