AngleSharp by AngleSharp

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

 Converters

static class Converters
A set of already constructed CSS value converters.
public static readonly IValueConverter AlphaValueConverter

Represents an number reduced to [0, 1] or percent. https://drafts.csswg.org/css-color/#rgb-functions

public static readonly IValueConverter AngleConverter

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

public static readonly IValueConverter AngleNumberConverter

Represents an number object that is a valid angle number.

public static readonly IValueConverter 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 IValueConverter Any

Represents a converter for anything. Just copies the tokens.

public static readonly IValueConverter AttrConverter

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

public static readonly IValueConverter AutoLengthConverter

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 BackgroundRepeat enumeration.

Represents a converter for background repeat.

Represents a converter for background size.

public static readonly IValueConverter BinaryConverter

Represents an integer object with 0 or 1.

Represents a converter for the border collapse mode.

public static readonly IValueConverter BorderRadiusConverter

Represents the border-radius (horizontal / vertical; radius) converter.

Represents the border-radius (h h h h / v v v v) converter.

public static readonly IValueConverter BorderSliceConverter

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 BoxDecorationConverter

Represents a converter for the box decoration break mode.

public static readonly IValueConverter BoxModelConverter

Represents a converter for the BoxModel enumeration.

Represents a converter for the BreakMode enumeration (constraint to the inside values).

public static readonly IValueConverter BreakModeConverter

Represents a converter for the BreakMode enumeration.

public static readonly IValueConverter CaptionSideConverter

Represents a converter for the caption side mode.

public static readonly IValueConverter ClearModeConverter

Represents a converter for the ClearMode enumeration.

public static readonly IValueConverter ColorConverter

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

public static readonly IValueConverter ColumnFillConverter

Represents a converter for the column fill mode.

public static readonly IValueConverter ColumnSpanConverter

Represents a converter for the column span mode.

public static readonly IValueConverter CounterConverter

Represents a counter object. http://www.w3.org/TR/CSS2/syndata.html#value-def-counter

public static readonly IValueConverter CubicBezierConverter

Represents a cubic-bezier timing-function object. https://developer.mozilla.org/en-US/docs/Web/CSS/timing-function

public static readonly IValueConverter CurrentColorConverter

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

Represents a converter for the default font families.

public static readonly IValueConverter DirectionModeConverter

Represents a converter for the DirectionMode enumeration.

public static readonly IValueConverter DisplayModeConverter

Represents a converter for the DisplayMode enumeration.

public static readonly IValueConverter EmptyCellsConverter

Represents a converter for the empty cells mode.

public static readonly IValueConverter EvenStringsConverter

Represents many string objects, but always divisible by 2.

public static readonly IValueConverter FloatingConverter

Represents a converter for the Floating enumeration.

public static readonly IValueConverter FontFamiliesConverter

Represents a converter for font families.

public static readonly IValueConverter FontSizeConverter

Represents a length for a font size.

public static readonly IValueConverter FontStretchConverter

Represents a converter for the FontStretch enumeration.

public static readonly IValueConverter FontStyleConverter

Represents a converter for the FontStyle enumeration.

public static readonly IValueConverter FontVariantConverter

Represents a converter for the FontVariant enumeration.

public static readonly IValueConverter FontWeightConverter

Represents a converter for the FontWeight enumeration.

public static readonly IValueConverter FrequencyConverter

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

public static readonly IValueConverter GradientConverter

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

public static readonly IValueConverter GrayColorConverter

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

Represents a converter for the HorizontalAlignment enumeration.

public static readonly IValueConverter HslaColorConverter

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

public static readonly IValueConverter HslColorConverter

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

public static readonly IValueConverter HwbColorConverter

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

public static readonly IValueConverter 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

public static readonly IValueConverter ImageSourceConverter

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

public static readonly IValueConverter IntegerConverter

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

public static readonly IValueConverter InvertedColorConverter

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

public static readonly IValueConverter 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 LineHeightConverter

Represents a distance object with line-height additions. http://www.w3.org/TR/CSS2/visudet.html#propdef-line-height

public static readonly IValueConverter LineStyleConverter

Represents a converter for the LineStyle enumeration.

public static readonly IValueConverter LineWidthConverter

Represents a length object with line-width additions. http://dev.w3.org/csswg/css-backgrounds/#line-width

public static readonly IValueConverter ListPositionConverter

Represents a converter for the ListPosition enumeration.

public static readonly IValueConverter ListStyleConverter

Represents a converter for the ListStyle enumeration.

public static readonly IValueConverter LiteralsConverter

Represents a string object from many identifiers.

Sets the transformation matrix explicitly. http://www.w3.org/TR/css3-transforms/#funcdef-matrix3d

Represents multiple image source object.

Represents multiple shadow objects.

Represents an integer object that is zero or greater.

public static readonly IValueConverter NaturalNumberConverter

Represents an number object that is zero or greater.

public static readonly IValueConverter NumberConverter

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

public static readonly IValueConverter ObjectFittingConverter

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.

public static readonly IValueConverter OverflowModeConverter

Represents a converter for the OverflowMode enumeration.

public static readonly IValueConverter OverflowWrapConverter

Represents a converter for the OverflowWrap enumeration.

public static readonly IValueConverter PageBreakModeConverter

Represents a converter for the BreakMode enumeration (constraint to the page values).

public static readonly IValueConverter PaintConverter

Represents a paint object.

public static readonly IValueConverter PercentConverter

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

public static readonly IValueConverter PerspectiveConverter

A perspective for 3D transformations. http://www.w3.org/TR/css3-transforms/#funcdef-perspective

public static readonly IValueConverter PlayStateConverter

Represents a converter for the PlayState enumeration.

public static readonly IValueConverter PointConverter

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

public static readonly IValueConverter PositionModeConverter

Represents a converter for the PositionMode enumeration.

Represents an integer object that is greater tha zero.

Represents a positive or infinite number object.

public static readonly IValueConverter 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 RatioConverter

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

public static readonly IValueConverter ResolutionConverter

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

public static readonly IValueConverter RgbaColorConverter

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

public static readonly IValueConverter RgbColorConverter

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

public static readonly IValueConverter RgbComponentConverter

Represents an integer object reduced to [0, 255] or percent. https://drafts.csswg.org/css-color/#rgb-functions

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 ShadowConverter

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

public static readonly IValueConverter ShapeConverter

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

public static readonly IValueConverter SideOrCornerConverter

Represents the angle to a side or corner of a box. http://dev.w3.org/csswg/css-images-3/#typedef-side-or-corner

public static readonly IValueConverter SkewTransformConverter

A broad variety of skew transforms. http://www.w3.org/TR/css3-transforms/#funcdef-skew

public static readonly IValueConverter StepsConverter

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

public static readonly IValueConverter StringConverter

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

Represents a converter for Stroke Dasharray property taking many values or none.

public static readonly IValueConverter StrokeLinecapConverter

Represents a converter for the StrokeLinecap enumeration.

Represents a converter for the StrokeLinejoin enumeration.

Represents a converter for the StrokeMiterlimit enumeration.

public static readonly IValueConverter SystemFontConverter

Represents a converter for the SystemFont enumeration.

public static readonly IValueConverter TableLayoutConverter

Represents a converter for the table layout mode.

public static readonly IValueConverter TextAlignLastConverter

Represents a converter for the TextTAligLast enumeration.

public static readonly IValueConverter TextAnchorConverter

Represents a converter for the TextAnchor enumeration.

Represents a converter for the TextDecorationLine enumeration, taking many values or none.

Represents a converter for the TextDecorationStyle enumeration.

public static readonly IValueConverter TextJustifyConverter

Represents a converter for the TextJustify enumeration.

public static readonly IValueConverter TextTransformConverter

Represents a converter for the TextTransform enumeration.

public static readonly IValueConverter TimeConverter

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

public static readonly IValueConverter TransformConverter

Represents a transform function. http://www.w3.org/TR/css3-transforms/#typedef-transform-function

public static readonly IValueConverter TransitionConverter

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

public static readonly IValueConverter UnicodeModeConverter

Represents a converter for the UnicodeMode enumeration.

public static readonly IValueConverter UrlConverter

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

Represents a converter for the VerticalAlignment enumeration.

public static readonly IValueConverter VisibilityConverter

Represents a converter for the Visibility enumeration.

public static readonly IValueConverter WeightIntegerConverter

Represents an integer object that only allows values \in { 100, 200, ..., 900 }.

public static readonly IValueConverter WhitespaceConverter

Represents a converter for the Whitespace enumeration.

public static readonly IValueConverter WordBreakConverter

Represents a converter for the WordBreak enumeration.

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

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

public static IValueConverter Continuous(IValueConverter converter)

Uses the provided converter for the whole value.

public static IValueConverter Toggle(string on, string off)

Creates a new boolean converter that toggles between the two given keywords.

public static IValueConverter WithAny(IValueConverter[] converters)

Uses the converters in any order to convert provided values.

public static IValueConverter WithOrder(IValueConverter[] converters)

Uses the provided converters successively in order.