API Reference
Class
HtmlCssPropertyValue
A parsed, provider-independent CSS property value.
Inheritance
- Object
- HtmlCssPropertyValue
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property HtmlCssPropertyParseResult.Value
Inherited Methods
Properties
public HtmlCssPropertyValueKind Kind { get; } #Typed value category.
public String AuthoredText { get; } #Trimmed authored value without a declaration's trailing !important annotation.
public String CanonicalText { get; } #Stable lowercase or invariant representation when the grammar defines one.
public Nullable<Double> Number { get; } #Parsed number, or null for nonnumeric values. Percentages retain their authored numeric scale.
public Nullable<HtmlCssWideKeyword> CssWideKeyword { get; } #Parsed CSS-wide keyword, or null for a property-specific value.
public HtmlCssNumericValue NumericValue { get; } #Typed numeric literal or constant math result, when applicable.
public HtmlCssColorFunctionValue ColorFunction { get; } #Typed functional color, when applicable.
public HtmlCssMathExpression MathExpression { get; } #Typed length, percentage, or length-percentage expression, when applicable.