Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlSemanticFormControl

OfficeIMO.Html

Namespace
OfficeIMO.Html
Assembly
OfficeIMO.Html
Source revision
be6c300e4ab1 with working tree changes
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

Properties

public string ElementName { get; } #

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

public string Type { get; } #

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

public string Name { get; } #

Control name.

public IReadOnlyList<string> Values { get; } #

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

public string Value { get; } #

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

public bool IsChecked { get; } #

Whether a checkbox or radio control is checked.

public bool IsIndeterminate { get; } #

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

public bool IsDisabled { get; } #

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

public bool IsRequired { get; } #

Whether the control declares required validation.

public bool IsReadOnly { get; } #

Whether the control declares readonly state.

public bool IsMultiple { get; } #

Whether the control accepts multiple values.

public string FormOwnerId { get; } #

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

public string Pattern { get; } #

Authored validation pattern.

public string Minimum { get; } #

Authored minimum value.

public string Maximum { get; } #

Authored maximum value.

public string Step { get; } #

Authored value step.

public int? MinimumLength { get; } #

Authored minimum text length.

public int? MaximumLength { get; } #

Authored maximum text length.

public string Placeholder { get; } #

Authored placeholder text.

public string? FormAction { get; } #

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

public string? FormMethod { get; } #

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

public string? FormEncodingType { get; } #

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

public string? FormTarget { get; } #

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

public bool FormNoValidate { get; } #

Whether this submitter disables form validation.