HtmlSemanticFormControl
OfficeIMO.Html
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
Inherited Methods
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 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? 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.