ValueConverter

[ Class ]

Static functions

Name

Description

toBoolean

Converts any compatible value to a Boolean value.

toNumber

Converts any compatible value to a number.

toObject

Converts any compatible value to an object or array.

toSchemaType

Converts any compatible value to a type defined by a schema object.

toString

Converts any compatible value to a string.

toType

Converts any compatible value to a type defined by a type schema.

toTypeEx

Converts any compatible value to a type defined by a type schema.

toAngleUnit

Converts any compatible value to an angle unit.

toBorderStyleValue

Converts any compatible value to a border style.

toDimensionUnit

Converts any compatible value to a dimension unit.

toFontStyle

Converts any compatible value into an enumeration of a font style.

toFontWeight

Converts any compatible value into an enumeration of a font weight.

toHorizontalAlignment

Converts any compatible value into an enumeration of a horizontal alignment.

toScaleModeString

Converts any compatible value into an enumeration of a scaling instruction.

toSizeMode

Converts any compatible value into an enumeration of a Width/HeightMode string.

toSizeModeWithContent

Converts any compatible value into an enumeration of an extended Width/HeightMode string.

toToggleState

Converts any compatible value into an enumeration of a ToggleState string.

toVerticalAlignment

Converts any compatible value into an enumeration of a vertical alignment.

toVisibility

Converts any compatible value into a visibility enumeration.

ValueConverter 1:

Available from 1.8