# HtmlCssPropertyValue

A parsed, provider-independent CSS property value.

Class 

`OfficeIMO.Html.Css`

**Namespace**

`OfficeIMO.Html.Css`

**Assembly**

`OfficeIMO.Html.Core`

**Source revision**

`56dd0d38e0b5` with working tree changes

**Source**

[HtmlCssPropertyContracts.cs:177](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssPropertyContracts.cs#L177)

**Modifiers**

sealed

A parsed, provider-independent CSS property value.

## Inheritance

- object
- HtmlCssPropertyValue

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [HtmlCssPropertyParseResult.Value](/api/html-core/officeimo-html-css-htmlcsspropertyparseresult/#property-value)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public HtmlCssPropertyValueKind Kind { get; }` [#](#property-kind)

[HtmlCssPropertyContracts.cs:177](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssPropertyContracts.cs#L177)

Typed value category.

`public string AuthoredText { get; }` [#](#property-authoredtext)

[HtmlCssPropertyContracts.cs:179](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssPropertyContracts.cs#L179)

Trimmed authored value without a declaration's trailing !important annotation.

`public string CanonicalText { get; }` [#](#property-canonicaltext)

[HtmlCssPropertyContracts.cs:181](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssPropertyContracts.cs#L181)

Stable lowercase or invariant representation when the grammar defines one.

`public double? Number { get; }` [#](#property-number)

[HtmlCssPropertyContracts.cs:183](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssPropertyContracts.cs#L183)

Parsed number, or null for nonnumeric values. Percentages retain their authored numeric scale.

`public HtmlCssWideKeyword? CssWideKeyword { get; }` [#](#property-csswidekeyword)

[HtmlCssPropertyContracts.cs:185](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssPropertyContracts.cs#L185)

Parsed CSS-wide keyword, or null for a property-specific value.

`public HtmlCssNumericValue? NumericValue { get; }` [#](#property-numericvalue)

[HtmlCssPropertyContracts.cs:187](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssPropertyContracts.cs#L187)

Typed numeric literal or constant math result, when applicable.

`public HtmlCssColorFunctionValue? ColorFunction { get; }` [#](#property-colorfunction)

[HtmlCssPropertyContracts.cs:189](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssPropertyContracts.cs#L189)

Typed functional color, when applicable.

`public HtmlCssMathExpression? MathExpression { get; }` [#](#property-mathexpression)

[HtmlCssPropertyContracts.cs:191](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssPropertyContracts.cs#L191)

Typed length, percentage, or length-percentage expression, when applicable.

<!-- PowerForge markdown artifact sha256:AB45F36A5C46C8BF9DC6658332C6F7A101E066D292BDC2D4991715F0323B2472 -->
