CssStyleValue Class

A CSS value of the Typed OM (https://drafts.css-houdini.org/css-typed-om-1/#cssstylevalue). The values that have no more specialized subclass are direct CssStyleValue objects: they are opaque, and are only valid for the property they were reified for (https://drafts.css-houdini.org/css-typed-om-1/#reify-as-a-cssstylevalue).

public class CssStyleValue

Methods

NameDescription
Parse(string, string)https://drafts.css-houdini.org/css-typed-om-1/#dom-cssstylevalue-parse
ParseAll(string, string)https://drafts.css-houdini.org/css-typed-om-1/#dom-cssstylevalue-parseall
ToString()The serialization of the value (https://drafts.css-houdini.org/css-typed-om-1/#stylevalue-serialization).

Parse(string, string)

CssStyleValue.cs

https://drafts.css-houdini.org/css-typed-om-1/#dom-cssstylevalue-parse

public static CssStyleValue Parse(string property, string cssText)

ParseAll(string, string)

CssStyleValue.cs

https://drafts.css-houdini.org/css-typed-om-1/#dom-cssstylevalue-parseall

public static IReadOnlyList<CssStyleValue> ParseAll(string property, string cssText)

The serialization of the value (https://drafts.css-houdini.org/css-typed-om-1/#stylevalue-serialization).

public override string ToString()

Returns

string