# HtmlCssSyntaxKind

Lossless CSS syntax categories. These do not imply selector, property, or rendering support.

Enum 

`OfficeIMO.Html.Css`

**Namespace**

`OfficeIMO.Html.Css`

**Assembly**

`OfficeIMO.Html.Core`

**Source revision**

`56dd0d38e0b5` with working tree changes

**Source**

[HtmlCssSyntaxNode.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L51)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Lossless CSS syntax categories. These do not imply selector, property, or rendering support.

## Inheritance

- Enum
- HtmlCssSyntaxKind

## Usage

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

- Property [HtmlCssAtRule.Kind](/api/html-core/officeimo-html-css-htmlcssatrule/#property-kind)
- Property [HtmlCssComponentValue.Kind](/api/html-core/officeimo-html-css-htmlcsscomponentvalue/#property-kind)
- Property [HtmlCssDeclaration.Kind](/api/html-core/officeimo-html-css-htmlcssdeclaration/#property-kind)
- Property [HtmlCssFunctionValue.Kind](/api/html-core/officeimo-html-css-htmlcssfunctionvalue/#property-kind)
- Property [HtmlCssInvalidSyntax.Kind](/api/html-core/officeimo-html-css-htmlcssinvalidsyntax/#property-kind)
- Property [HtmlCssQualifiedRule.Kind](/api/html-core/officeimo-html-css-htmlcssqualifiedrule/#property-kind)
- Property [HtmlCssRule.Kind](/api/html-core/officeimo-html-css-htmlcssrule/#property-kind)
- Property [HtmlCssSimpleBlock.Kind](/api/html-core/officeimo-html-css-htmlcsssimpleblock/#property-kind)
- Field [HtmlCssSyntaxKind.AtRule](/api/html-core/officeimo-html-css-htmlcsssyntaxkind/#field-atrule)
- Field [HtmlCssSyntaxKind.Declaration](/api/html-core/officeimo-html-css-htmlcsssyntaxkind/#field-declaration)
- Field [HtmlCssSyntaxKind.Function](/api/html-core/officeimo-html-css-htmlcsssyntaxkind/#field-function)
- Field [HtmlCssSyntaxKind.Invalid](/api/html-core/officeimo-html-css-htmlcsssyntaxkind/#field-invalid)
- Field [HtmlCssSyntaxKind.QualifiedRule](/api/html-core/officeimo-html-css-htmlcsssyntaxkind/#field-qualifiedrule)
- Field [HtmlCssSyntaxKind.SimpleBlock](/api/html-core/officeimo-html-css-htmlcsssyntaxkind/#field-simpleblock)
- Field [HtmlCssSyntaxKind.Token](/api/html-core/officeimo-html-css-htmlcsssyntaxkind/#field-token)
- Property [HtmlCssSyntaxNode.Kind](/api/html-core/officeimo-html-css-htmlcsssyntaxnode/#property-kind)
- Property [HtmlCssTokenValue.Kind](/api/html-core/officeimo-html-css-htmlcsstokenvalue/#property-kind)

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 HtmlCssSyntaxKind Token` [#](#field-token)

[HtmlCssSyntaxNode.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L53)

A token used as a component value.

Value: `0`

`public const HtmlCssSyntaxKind Function` [#](#field-function)

[HtmlCssSyntaxNode.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L55)

A function and its nested component values.

Value: `1`

`public const HtmlCssSyntaxKind SimpleBlock` [#](#field-simpleblock)

[HtmlCssSyntaxNode.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L57)

A parenthesis, bracket, or brace block and its nested component values.

Value: `2`

`public const HtmlCssSyntaxKind AtRule` [#](#field-atrule)

[HtmlCssSyntaxNode.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L59)

An at-rule, whether known or unknown to a later consumer.

Value: `3`

`public const HtmlCssSyntaxKind QualifiedRule` [#](#field-qualifiedrule)

[HtmlCssSyntaxNode.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L61)

A qualified rule.

Value: `4`

`public const HtmlCssSyntaxKind Declaration` [#](#field-declaration)

[HtmlCssSyntaxNode.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L63)

A syntactically recognizable declaration.

Value: `5`

`public const HtmlCssSyntaxKind Invalid` [#](#field-invalid)

[HtmlCssSyntaxNode.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssSyntaxNode.cs#L65)

Source retained after syntax recovery could not form a rule or declaration.

Value: `6`

<!-- PowerForge markdown artifact sha256:1C0542D556A7FBEB42A8F5F53151DA2283F8A605302439B085AB9A6C7DBA86EA -->
