Converters
A set of already constructed CSS value converters.
Represents an angle object.
https://developer.mozilla.org/en-US/docs/Web/CSS/angle
Represents an identifier object that matches the production rules of a single transition property.
http://dev.w3.org/csswg/css-transitions/#single-transition-property
Represents a converter for the AnimationDirection enumeration.
Represents a converter for the AnimationFillStyle enumeration.
Represents an attribute retriever object.
http://dev.w3.org/csswg/css-values/#funcdef-attr
Represents a length (or default).
Represents a distance object (or default).
Represents a converter for the backface visibility mode.
Represents a converter for the BackgroundAttachment enumeration.
Represents a converter for the border collapse mode.
Represents the border-radius (horizontal / vertical; radius) converter.
Represents a length object that is based on percentage or number.
http://dev.w3.org/csswg/css-backgrounds/#border-image-slice
Represents a converter for the box decoration break mode.
Represents a converter for the BoxModel enumeration.
Represents a converter for the BreakMode enumeration (constraint to the inside values).
Represents a converter for the BreakMode enumeration.
Represents an integer object reduced to [0, 255].
https://developer.mozilla.org/en-US/docs/Web/CSS/integer
Represents a converter for the caption side mode.
Represents a converter for the ClearMode enumeration.
Represents a color object.
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
Represents a converter for the column fill mode.
Represents a converter for the column span mode.
Represents a counter object.
http://www.w3.org/TR/CSS2/syndata.html#value-def-counter
Represents a cubic-bezier timing-function object.
https://developer.mozilla.org/en-US/docs/Web/CSS/timing-function
Represents a color object or, alternatively, the current color.
Represents a converter for the DirectionMode enumeration.
Represents a converter for the DisplayMode enumeration.
Represents a converter for the empty cells mode.
Represents a converter for the Floating enumeration.
Represents a length for a font size.
Represents a converter for the FontStretch enumeration.
Represents a converter for the FontStyle enumeration.
Represents a converter for the FontVariant enumeration.
Represents a frequency object.
https://developer.mozilla.org/en-US/docs/Web/CSS/frequency
Represents a gradient object.
https://developer.mozilla.org/en-US/docs/Web/CSS/gradient
Represents a converter for the HorizontalAlignment enumeration.
Represents a color object (HSLA function).
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
Represents a color object (HSL function).
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
Represents an identifier object.
https://developer.mozilla.org/en-US/docs/Web/CSS/user-ident
Represents a length object that is based on percentage, length or number.
http://dev.w3.org/csswg/css-backgrounds/#border-image-width
Represents an image source object.
https://developer.mozilla.org/en-US/docs/Web/CSS/image
Represents an integer object.
https://developer.mozilla.org/en-US/docs/Web/CSS/integer
Represents a color object, the current color, or the inverted current color.
Represents a length object.
https://developer.mozilla.org/en-US/docs/Web/CSS/length
Represents a length object or alternatively a fixed length when "normal" is given.
Represents a distance object (either Length or Percent).
Represents a linear-gradient object.
https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient
Represents a distance object with line-height additions.
http://www.w3.org/TR/CSS2/visudet.html#propdef-line-height
Represents a converter for the LineStyle enumeration.
Represents a length object with line-width additions.
http://dev.w3.org/csswg/css-backgrounds/#line-width
Represents a converter for the ListPosition enumeration.
Represents a converter for the ListStyle enumeration.
Sets the transformation matrix explicitely.
http://www.w3.org/TR/css3-transforms/#funcdef-matrix3d
Represents multiple image source object.
Represents multiple shadow objects.
Represents a number object.
https://developer.mozilla.org/en-US/docs/Web/CSS/number
Represents a converter for the ObjectFitting enumeration.
Represents an optional image source object.
Represents an optional integer object.
Represents a length object or null, when "normal" is given.
Represents a distance object (either Length or Percent) or none.
Represents a positive or infinite number object.
Represents a converter for the OverflowMode enumeration.
Represents a converter for the BreakMode enumeration (constraint to the page values).
Represents a percentage object.
https://developer.mozilla.org/en-US/docs/Web/CSS/percentage
A perspective for 3D transformations.s
http://www.w3.org/TR/css3-transforms/#funcdef-perspective
Represents a converter for the PlayState enumeration.
Represents a position object.
http://www.w3.org/TR/css3-background/#ltpositiongt
Represents a converter for the PositionMode enumeration.
Represents an integer object that is zero or greater.
https://developer.mozilla.org/en-US/docs/Web/CSS/integer
Represents a positive or infinite number object.
Represents an color object (usually hex or name).
https://developer.mozilla.org/en-US/docs/Web/CSS/color
Represents a radial-gradient object.
https://developer.mozilla.org/en-US/docs/Web/CSS/radial-gradient
Represents a ratio object.
https://developer.mozilla.org/en-US/docs/Web/CSS/ratio
Represents a resolution object.
https://developer.mozilla.org/en-US/docs/Web/CSS/resolution
Represents a color object (RGBA function).
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
Represents a color object (RGB function).
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
A broad variety of rotate transforms.
http://www.w3.org/TR/css3-transforms/#funcdef-rotate3d
A broad variety of scale transforms.
http://www.w3.org/TR/css3-transforms/#funcdef-scale3d
Represents a shadow object.
http://dev.w3.org/csswg/css-backgrounds/#shadow
Represents a shape object.
https://developer.mozilla.org/en-US/docs/Web/CSS/shape
Represents the angle to a side or corner of a box.
http://dev.w3.org/csswg/css-images-3/#typedef-side-or-corner
A broad variety of skew transforms.
http://www.w3.org/TR/css3-transforms/#funcdef-skew
Represents a steps timing-function object.
https://developer.mozilla.org/en-US/docs/Web/CSS/timing-function
Represents a string object.
https://developer.mozilla.org/en-US/docs/Web/CSS/string
Represents a converter for the table layout mode.
Represents a converter for the TextDecorationStyle enumeration.
Represents a converter for the TextTransform enumeration.
Represents a time object.
https://developer.mozilla.org/en-US/docs/Web/CSS/time
Represents a transform function.
http://www.w3.org/TR/css3-transforms/#typedef-transform-function
Represents a timing-function object.
https://developer.mozilla.org/en-US/docs/Web/CSS/timing-function
A broad variety of translate transforms.
http://www.w3.org/TR/css3-transforms/#funcdef-translate3d
Represents a converter for the UnicodeMode enumeration.
Represents an URL object.
https://developer.mozilla.org/en-US/docs/Web/CSS/uri
Represents a converter for the VerticalAlignment enumeration.
Represents a converter for the Visibility enumeration.
Represents a converter for the Whitespace enumeration.
Creates a new converter by assigning the given identifier to a fixed result.
Creates a new boolean converter that toggles between the two given keywords.
public static IValueConverter<Tuple<T1, T2>> WithAny<T1, T2>(IValueConverter<T1> first, IValueConverter<T2> second)
Uses the two converters in any order to convert provided values.
public static IValueConverter<Tuple<T1, T2, T3>> WithAny<T1, T2, T3>(IValueConverter<T1> first, IValueConverter<T2> second, IValueConverter<T3> third)
Uses the two converters in any order to convert provided values.
public static IValueConverter<Tuple<T1, T2, T3, T4>> WithAny<T1, T2, T3, T4>(IValueConverter<T1> first, IValueConverter<T2> second, IValueConverter<T3> third, IValueConverter<T4> fourth)
Uses the two converters in any order to convert provided values.
public static IValueConverter<Tuple<T1, T2, T3, T4, T5>> WithAny<T1, T2, T3, T4, T5>(IValueConverter<T1> first, IValueConverter<T2> second, IValueConverter<T3> third, IValueConverter<T4> fourth, IValueConverter<T5> fifth)
Uses the two converters in any order to convert provided values.
public static IValueConverter<Tuple<T1, T2, T3, T4, T5, T6>> WithAny<T1, T2, T3, T4, T5, T6>(IValueConverter<T1> first, IValueConverter<T2> second, IValueConverter<T3> third, IValueConverter<T4> fourth, IValueConverter<T5> fifth, IValueConverter<T6> sixth)
Uses the two converters in any order to convert provided values.
public static IValueConverter<Tuple<T1, T2, T3, T4, T5, T6, T7>> WithAny<T1, T2, T3, T4, T5, T6, T7>(IValueConverter<T1> first, IValueConverter<T2> second, IValueConverter<T3> third, IValueConverter<T4> fourth, IValueConverter<T5> fifth, IValueConverter<T6> sixth, IValueConverter<T7> seventh)
Uses the two converters in any order to convert provided values.
public static IValueConverter<Tuple<T1, T2, T3, T4, T5, T6, T7, Tuple<T8>>> WithAny<T1, T2, T3, T4, T5, T6, T7, T8>(IValueConverter<T1> first, IValueConverter<T2> second, IValueConverter<T3> third, IValueConverter<T4> fourth, IValueConverter<T5> fifth, IValueConverter<T6> sixth, IValueConverter<T7> seventh, IValueConverter<T8> eighth)
Uses the two converters in any order to convert provided values.
Uses the provided converter successively in order.
public static IValueConverter<Tuple<T1, T2>> WithOrder<T1, T2>(IValueConverter<T1> first, IValueConverter<T2> second)
Uses the two converters in their order to convert provided values.
public static IValueConverter<Tuple<T1, T2, T3>> WithOrder<T1, T2, T3>(IValueConverter<T1> first, IValueConverter<T2> second, IValueConverter<T3> third)
Uses the three converters in their order to convert provided values.