AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.8.2" />

 Converters

static class Converters
A set of already constructed CSS value converters.
public static readonly IValueConverter<Angle> AngleConverter

Represents an angle object. https://developer.mozilla.org/en-US/docs/Web/CSS/angle

public static readonly IValueConverter<string> AnimatableConverter

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.

public static readonly IValueConverter<string> AttrConverter

Represents an attribute retriever object. http://dev.w3.org/csswg/css-values/#funcdef-attr

public static readonly IValueConverter<Length?> AutoLengthConverter

Represents a length (or default).

Represents a distance object (or default).

public static readonly IValueConverter<bool> BackfaceVisibilityConverter

Represents a converter for the backface visibility mode.

Represents a converter for the BackgroundAttachment enumeration.

public static readonly IValueConverter<bool> BorderCollapseConverter

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

public static readonly IValueConverter<bool> BoxDecorationConverter

Represents a converter for the box decoration break mode.

public static readonly IValueConverter<BoxModel> BoxModelConverter

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.

public static readonly IValueConverter<byte> ByteConverter

Represents an integer object reduced to [0, 255]. https://developer.mozilla.org/en-US/docs/Web/CSS/integer

public static readonly IValueConverter<bool> CaptionSideConverter

Represents a converter for the caption side mode.

Represents a converter for the ClearMode enumeration.

public static readonly IValueConverter<Color> ColorConverter

Represents a color object. https://developer.mozilla.org/en-US/docs/Web/CSS/color_value

public static readonly IValueConverter<bool> ColumnFillConverter

Represents a converter for the column fill mode.

public static readonly IValueConverter<bool> ColumnSpanConverter

Represents a converter for the column span mode.

public static readonly IValueConverter<Counter> CounterConverter

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.

public static readonly IValueConverter<bool> EmptyCellsConverter

Represents a converter for the empty cells mode.

public static readonly IValueConverter<Floating> FloatingConverter

Represents a converter for the Floating enumeration.

public static readonly IValueConverter<Length> FontSizeConverter

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.

public static readonly IValueConverter<Color> HslaColorConverter

Represents a color object (HSLA function). https://developer.mozilla.org/en-US/docs/Web/CSS/color_value

public static readonly IValueConverter<Color> HslColorConverter

Represents a color object (HSL function). https://developer.mozilla.org/en-US/docs/Web/CSS/color_value

public static readonly IValueConverter<string> IdentifierConverter

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

public static readonly IValueConverter<int> IntegerConverter

Represents an integer object. https://developer.mozilla.org/en-US/docs/Web/CSS/integer

public static readonly IValueConverter<Color?> InvertedColorConverter

Represents a color object, the current color, or the inverted current color.

public static readonly IValueConverter<Length> LengthConverter

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

public static readonly IValueConverter<Length> LineHeightConverter

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.

public static readonly IValueConverter<Length> LineWidthConverter

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.

public static readonly IValueConverter<float> NumberConverter

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.

public static readonly IValueConverter<int?> OptionalIntegerConverter

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.

public static readonly IValueConverter<float?> OptionalNumberConverter

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).

public static readonly IValueConverter<Percent> PercentConverter

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.

public static readonly IValueConverter<Point> PointConverter

Represents a position object. http://www.w3.org/TR/css3-background/#ltpositiongt

Represents a converter for the PositionMode enumeration.

public static readonly IValueConverter<int> PositiveIntegerConverter

Represents an integer object that is zero or greater. https://developer.mozilla.org/en-US/docs/Web/CSS/integer

public static readonly IValueConverter<float> PositiveOrInfiniteNumberConverter

Represents a positive or infinite number object.

public static readonly IValueConverter<Color> PureColorConverter

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

public static readonly IValueConverter<Tuple<int, int>> RatioConverter

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

public static readonly IValueConverter<Color> RgbaColorConverter

Represents a color object (RGBA function). https://developer.mozilla.org/en-US/docs/Web/CSS/color_value

public static readonly IValueConverter<Color> RgbColorConverter

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

public static readonly IValueConverter<Shadow> ShadowConverter

Represents a shadow object. http://dev.w3.org/csswg/css-backgrounds/#shadow

public static readonly IValueConverter<Shape> ShapeConverter

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

public static readonly IValueConverter<string> StringConverter

Represents a string object. https://developer.mozilla.org/en-US/docs/Web/CSS/string

public static readonly IValueConverter<bool> TableLayoutConverter

Represents a converter for the table layout mode.

Represents a converter for the TextDecorationStyle enumeration.

Represents a converter for the TextTransform enumeration.

public static readonly IValueConverter<Time> TimeConverter

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.

public static readonly IValueConverter<CssUrl> UrlConverter

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.

public static IValueConverter<T> Assign<T>(string identifier, T result)

Creates a new converter by assigning the given identifier to a fixed result.

public static IValueConverter<bool> Toggle(string on, string off)

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.

public static IValueConverter<T[]> WithOrder<T>(IValueConverter<T> converter)

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.