API Reference
HtmlSemanticFormControl
Typed, HTML-normalized form-control state.
Inheritance
- Object
- HtmlSemanticFormControl
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property HtmlSemanticBlock.FormControl
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
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 Boolean IsChecked { get; } #Whether a checkbox or radio control is checked.
public Boolean IsDisabled { get; } #Whether the control is disabled directly or by an ancestor disabled fieldset.
public Boolean IsRequired { get; } #Whether the control declares required validation.
public Boolean IsReadOnly { get; } #Whether the control declares readonly state.
public Boolean 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 Nullable<Int32> MinimumLength { get; } #Authored minimum text length.
public Nullable<Int32> 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 Boolean FormNoValidate { get; } #Whether this submitter disables form validation.