# HtmlCssCascadeDecision

Why a retained cascade candidate did or did not provide the computed value.

Enum 

`OfficeIMO.Html.Css`

**Namespace**

`OfficeIMO.Html.Css`

**Assembly**

`OfficeIMO.Html.Core`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[HtmlCssCascadeTrace.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html.Core/Css/HtmlCssCascadeTrace.cs#L18)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Why a retained cascade candidate did or did not provide the computed value.

## Inheritance

- Enum
- HtmlCssCascadeDecision

## Usage

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

- Property [HtmlCssCascadeCandidate.Decision](/api/html-core/officeimo-html-css-htmlcsscascadecandidate/#property-decision)
- Field [HtmlCssCascadeDecision.Inherited](/api/html-core/officeimo-html-css-htmlcsscascadedecision/#field-inherited)
- Field [HtmlCssCascadeDecision.InvalidAtComputedValue](/api/html-core/officeimo-html-css-htmlcsscascadedecision/#field-invalidatcomputedvalue)
- Field [HtmlCssCascadeDecision.Overridden](/api/html-core/officeimo-html-css-htmlcsscascadedecision/#field-overridden)
- Field [HtmlCssCascadeDecision.Reset](/api/html-core/officeimo-html-css-htmlcsscascadedecision/#field-reset)
- Field [HtmlCssCascadeDecision.RevertedLayer](/api/html-core/officeimo-html-css-htmlcsscascadedecision/#field-revertedlayer)
- Field [HtmlCssCascadeDecision.RevertedOrigin](/api/html-core/officeimo-html-css-htmlcsscascadedecision/#field-revertedorigin)
- Field [HtmlCssCascadeDecision.Selected](/api/html-core/officeimo-html-css-htmlcsscascadedecision/#field-selected)

### 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 `decision`

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 HtmlCssCascadeDecision Selected` [#](#field-selected)

[HtmlCssCascadeTrace.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html.Core/Css/HtmlCssCascadeTrace.cs#L20)

The candidate supplied the computed value.

Value: `0`

`public const HtmlCssCascadeDecision Overridden` [#](#field-overridden)

[HtmlCssCascadeTrace.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html.Core/Css/HtmlCssCascadeTrace.cs#L22)

A candidate with greater cascade precedence supplied the value.

Value: `1`

`public const HtmlCssCascadeDecision Reset` [#](#field-reset)

[HtmlCssCascadeTrace.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html.Core/Css/HtmlCssCascadeTrace.cs#L24)

The candidate reset the property to its initial or inherited behavior.

Value: `2`

`public const HtmlCssCascadeDecision RevertedLayer` [#](#field-revertedlayer)

[HtmlCssCascadeTrace.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html.Core/Css/HtmlCssCascadeTrace.cs#L26)

The candidate rolled back declarations in its cascade layer.

Value: `3`

`public const HtmlCssCascadeDecision RevertedOrigin` [#](#field-revertedorigin)

[HtmlCssCascadeTrace.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html.Core/Css/HtmlCssCascadeTrace.cs#L28)

The candidate rolled back declarations in its cascade origin.

Value: `4`

`public const HtmlCssCascadeDecision Inherited` [#](#field-inherited)

[HtmlCssCascadeTrace.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html.Core/Css/HtmlCssCascadeTrace.cs#L30)

The value came from the parent because no local candidate supplied it.

Value: `5`

`public const HtmlCssCascadeDecision InvalidAtComputedValue` [#](#field-invalidatcomputedvalue)

[HtmlCssCascadeTrace.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html.Core/Css/HtmlCssCascadeTrace.cs#L32)

Custom-property substitution failed and the property used its inherited or initial fallback.

Value: `6`

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