# HtmlFormControlStateKind

The kind of form element whose live properties were captured.

Enum 

`OfficeIMO.Html.Dom`

**Namespace**

`OfficeIMO.Html.Dom`

**Assembly**

`OfficeIMO.Html.Core`

**Source revision**

`56dd0d38e0b5` with working tree changes

**Source**

[HtmlFormControlState.cs:4](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/HtmlFormControlState.cs#L4)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

The kind of form element whose live properties were captured.

## Inheritance

- Enum
- HtmlFormControlStateKind

## 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 [HtmlFormControlState.Kind](/api/html-core/officeimo-html-dom-htmlformcontrolstate/#property-kind)
- Field [HtmlFormControlStateKind.Input](/api/html-core/officeimo-html-dom-htmlformcontrolstatekind/#field-input)
- Field [HtmlFormControlStateKind.Option](/api/html-core/officeimo-html-dom-htmlformcontrolstatekind/#field-option)
- Field [HtmlFormControlStateKind.Select](/api/html-core/officeimo-html-dom-htmlformcontrolstatekind/#field-select)
- Field [HtmlFormControlStateKind.TextArea](/api/html-core/officeimo-html-dom-htmlformcontrolstatekind/#field-textarea)

### Accepted by parameters 1

- Constructor [HtmlFormControlState.HtmlFormControlState](/api/html-core/officeimo-html-dom-htmlformcontrolstate/#constructor-ctor-officeimo-html-dom-htmlformcontrolstatekind-string-boolean-boolean-boolean) parameter `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 HtmlFormControlStateKind Input` [#](#field-input)

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

An input's current value, checkedness and indeterminate state.

Value: `0`

`public const HtmlFormControlStateKind TextArea` [#](#field-textarea)

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

A textarea's current value.

Value: `1`

`public const HtmlFormControlStateKind Select` [#](#field-select)

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

A select whose option states describe the live selection, including no selection.

Value: `2`

`public const HtmlFormControlStateKind Option` [#](#field-option)

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

An option's current selectedness.

Value: `3`

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