[]
        
(Showing Draft Content)

DDCssLib.CSSValue.-ctor

CSSValue Constructor

CSSValue(eCSSUnit)

Constructs the class with the specified unit type.

Declaration
public CSSValue(eCSSUnit aUnit)
Parameters
Type Name Description
eCSSUnit aUnit

CSSValue(int, eCSSUnit)

Constructs the class with the specified unit type, and integer value.

Declaration
public CSSValue(int aValue, eCSSUnit aUnit)
Parameters
Type Name Description
int aValue

The integer value to construct the class with.

eCSSUnit aUnit

The unit type to construct the class with. Shold be Integer or Enumerated.

CSSValue(float, eCSSUnit)

Constructs the class with the specified unit type, and value.

Declaration
public CSSValue(float aValue, eCSSUnit aUnit)
Parameters
Type Name Description
float aValue

The value to construct the class with.

eCSSUnit aUnit

The unit type to construct the class with. Should be eCSSUnit.Percent.

CSSValue(string, eCSSUnit)

Constructs the class with the specified unit type, and string value.

Declaration
public CSSValue(string aValue, eCSSUnit aUnit)
Parameters
Type Name Description
string aValue

The string value to construct the class with.

eCSSUnit aUnit

The unit type to construct the class with. Should be eCSSUnit.String, or eCSSUnit.Counters

CSSValue(eCSSUnit, Color, string)

Constructs the class with the specified color.

Declaration
public CSSValue(eCSSUnit eColorUnit, Color aValue, string sOriginalSyntax)
Parameters
Type Name Description
eCSSUnit eColorUnit

The type of color being stored.

Color aValue

The Color value to construct the class with.

string sOriginalSyntax

The way that the color value should be outputed when outputed as a string.