# HtmlCssPropertyParseStatus

Outcome of parsing a value against an OfficeIMO-owned property grammar.

Enum 

`OfficeIMO.Html.Css`

**Namespace**

`OfficeIMO.Html.Css`

**Assembly**

`OfficeIMO.Html.Core`

**Source revision**

`56dd0d38e0b5` with working tree changes

**Source**

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

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Outcome of parsing a value against an OfficeIMO-owned property grammar.

## Inheritance

- Enum
- HtmlCssPropertyParseStatus

## Usage

Explore 8 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 7

- Property [HtmlCssCascadeCandidate.GrammarStatus](/api/html-core/officeimo-html-css-htmlcsscascadecandidate/#property-grammarstatus)
- Property [HtmlCssPropertyParseResult.Status](/api/html-core/officeimo-html-css-htmlcsspropertyparseresult/#property-status)
- Field [HtmlCssPropertyParseStatus.Deferred](/api/html-core/officeimo-html-css-htmlcsspropertyparsestatus/#field-deferred)
- Field [HtmlCssPropertyParseStatus.InvalidSyntax](/api/html-core/officeimo-html-css-htmlcsspropertyparsestatus/#field-invalidsyntax)
- Field [HtmlCssPropertyParseStatus.Parsed](/api/html-core/officeimo-html-css-htmlcsspropertyparsestatus/#field-parsed)
- Field [HtmlCssPropertyParseStatus.UnknownProperty](/api/html-core/officeimo-html-css-htmlcsspropertyparsestatus/#field-unknownproperty)
- Field [HtmlCssPropertyParseStatus.UnsupportedValue](/api/html-core/officeimo-html-css-htmlcsspropertyparsestatus/#field-unsupportedvalue)

### Accepted by parameters 1

- Constructor [HtmlCssCascadeCandidate.HtmlCssCascadeCandidate](/api/html-core/officeimo-html-css-htmlcsscascadecandidate/#constructor-ctor-string-string-officeimo-html-css-htmlcsscascadesourcekind-officeimo-html-css-htmlcsscascadedecision-boolean-officeimo-html-css-htmlcsspropertyparsestatus-boolean-officeimo-html-css-htmlcssspecificity-int32-int32-string-string) parameter `grammarStatus`

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const HtmlCssPropertyParseStatus Parsed` [#](#field-parsed)

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

The property and value are in the currently implemented grammar slice.

Value: `0`

`public const HtmlCssPropertyParseStatus Deferred` [#](#field-deferred)

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

The value is syntactically deferred until custom properties are substituted.

Value: `1`

`public const HtmlCssPropertyParseStatus UnknownProperty` [#](#field-unknownproperty)

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

The property does not yet have an OfficeIMO-owned grammar.

Value: `2`

`public const HtmlCssPropertyParseStatus UnsupportedValue` [#](#field-unsupportedvalue)

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

The property is known, but this value is outside the implemented grammar slice.

Value: `3`

`public const HtmlCssPropertyParseStatus InvalidSyntax` [#](#field-invalidsyntax)

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

The value contains malformed CSS tokens or unmatched component boundaries.

Value: `4`

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