# HtmlCssCascadeSourceKind

Provider-neutral origin of a candidate considered by the managed author cascade.

Enum 

`OfficeIMO.Html.Css`

**Namespace**

`OfficeIMO.Html.Css`

**Assembly**

`OfficeIMO.Html.Core`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

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

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Provider-neutral origin of a candidate considered by the managed author cascade.

## Inheritance

- Enum
- HtmlCssCascadeSourceKind

## Usage

Explore 6 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 5

- Property [HtmlCssCascadeCandidate.Source](/api/html-core/officeimo-html-css-htmlcsscascadecandidate/#property-source)
- Field [HtmlCssCascadeSourceKind.Inherited](/api/html-core/officeimo-html-css-htmlcsscascadesourcekind/#field-inherited)
- Field [HtmlCssCascadeSourceKind.InlineStyle](/api/html-core/officeimo-html-css-htmlcsscascadesourcekind/#field-inlinestyle)
- Field [HtmlCssCascadeSourceKind.PresentationalHint](/api/html-core/officeimo-html-css-htmlcsscascadesourcekind/#field-presentationalhint)
- Field [HtmlCssCascadeSourceKind.StyleRule](/api/html-core/officeimo-html-css-htmlcsscascadesourcekind/#field-stylerule)

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

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 HtmlCssCascadeSourceKind StyleRule` [#](#field-stylerule)

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

A declaration from a matched style rule.

Value: `0`

`public const HtmlCssCascadeSourceKind InlineStyle` [#](#field-inlinestyle)

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

A declaration from an element's style attribute.

Value: `1`

`public const HtmlCssCascadeSourceKind PresentationalHint` [#](#field-presentationalhint)

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

A style synthesized from an HTML presentational hint.

Value: `2`

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

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

A computed value inherited from the parent element.

Value: `3`

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