# HtmlSemanticFormControl

Typed, HTML-normalized form-control state.

Class 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[HtmlSemanticFormControl.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L55)

**Modifiers**

sealed

Typed, HTML-normalized form-control state.

## Inheritance

- object
- HtmlSemanticFormControl

## Usage

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

- Property [HtmlSemanticBlock.FormControl](/api/html/officeimo-html-htmlsemanticblock/#property-formcontrol)

Filter members 

Show inherited

## Inherited Methods

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

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from object

Returns

`int`

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

Inherited from object

Returns

`Type`

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

Inherited from object

Returns

`string?`

## Properties

`public string ElementName { get; }` [#](#property-elementname)

[HtmlSemanticFormControl.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L55)

Normalized source element name, such as input, select, textarea, or button.

`public string Type { get; }` [#](#property-type)

[HtmlSemanticFormControl.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L58)

Effective HTML control type, including specification defaults and invalid-value fallback.

`public string Name { get; }` [#](#property-name)

[HtmlSemanticFormControl.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L61)

Control name.

`public IReadOnlyList<string> Values { get; }` [#](#property-values)

[HtmlSemanticFormControl.cs:64](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L64)

Current values; multi-select controls can expose more than one value.

`public string Value { get; }` [#](#property-value)

[HtmlSemanticFormControl.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L67)

First current value, or an empty string when the control has no value.

`public bool IsChecked { get; }` [#](#property-ischecked)

[HtmlSemanticFormControl.cs:70](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L70)

Whether a checkbox or radio control is checked.

`public bool IsIndeterminate { get; }` [#](#property-isindeterminate)

[HtmlSemanticFormControl.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L73)

Whether a captured checkbox displays the indeterminate state, independently of checkedness.

`public bool IsDisabled { get; }` [#](#property-isdisabled)

[HtmlSemanticFormControl.cs:76](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L76)

Whether the control is disabled directly or by an ancestor disabled fieldset.

`public bool IsRequired { get; }` [#](#property-isrequired)

[HtmlSemanticFormControl.cs:79](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L79)

Whether the control declares required validation.

`public bool IsReadOnly { get; }` [#](#property-isreadonly)

[HtmlSemanticFormControl.cs:82](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L82)

Whether the control declares readonly state.

`public bool IsMultiple { get; }` [#](#property-ismultiple)

[HtmlSemanticFormControl.cs:85](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L85)

Whether the control accepts multiple values.

`public string FormOwnerId { get; }` [#](#property-formownerid)

[HtmlSemanticFormControl.cs:88](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L88)

Resolved form-owner id, or an empty string when no named owner is resolved.

`public string Pattern { get; }` [#](#property-pattern)

[HtmlSemanticFormControl.cs:91](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L91)

Authored validation pattern.

`public string Minimum { get; }` [#](#property-minimum)

[HtmlSemanticFormControl.cs:93](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L93)

Authored minimum value.

`public string Maximum { get; }` [#](#property-maximum)

[HtmlSemanticFormControl.cs:95](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L95)

Authored maximum value.

`public string Step { get; }` [#](#property-step)

[HtmlSemanticFormControl.cs:97](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L97)

Authored value step.

`public int? MinimumLength { get; }` [#](#property-minimumlength)

[HtmlSemanticFormControl.cs:99](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L99)

Authored minimum text length.

`public int? MaximumLength { get; }` [#](#property-maximumlength)

[HtmlSemanticFormControl.cs:101](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L101)

Authored maximum text length.

`public string Placeholder { get; }` [#](#property-placeholder)

[HtmlSemanticFormControl.cs:103](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L103)

Authored placeholder text.

`public string? FormAction { get; }` [#](#property-formaction)

[HtmlSemanticFormControl.cs:105](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L105)

Submitter-specific action override; null for non-submitters or when absent.

`public string? FormMethod { get; }` [#](#property-formmethod)

[HtmlSemanticFormControl.cs:107](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L107)

Effective submitter-specific method override; null for non-submitters or when absent.

`public string? FormEncodingType { get; }` [#](#property-formencodingtype)

[HtmlSemanticFormControl.cs:109](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L109)

Effective submitter-specific encoding override; null for non-submitters or when absent.

`public string? FormTarget { get; }` [#](#property-formtarget)

[HtmlSemanticFormControl.cs:111](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L111)

Submitter-specific target override; null for non-submitters or when absent.

`public bool FormNoValidate { get; }` [#](#property-formnovalidate)

[HtmlSemanticFormControl.cs:113](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Semantics/HtmlSemanticFormControl.cs#L113)

Whether this submitter disables form validation.

<!-- PowerForge markdown artifact sha256:8245B21DC42FC131C419F08C2DA8BF8812BEE3C724DC022B57ADCC825CC85D20 -->
