IHtmlTextAreaElement
public interface IHtmlTextAreaElement : IHtmlElement, IElement, INode, IEventTarget, IMarkupFormattable, IParentNode, IChildNode, INonDocumentTypeChildNode, IGlobalEventHandlers, IValidation
Represents the textarea HTML element.
Gets or sets the autofocus HTML attribute, which indicates whether the
control should have input focus when the page loads.
Gets or sets the cols HTML attribute, indicating
the visible width of the text area.
Gets or sets the default value.
Gets or sets the directionality of the form element.
Gets the associated HTML form element.
Gets or sets if the textarea is enabled or disabled.
Gets or sets if the field is read-only.
Gets or sets if the field is required.
Gets the list of assigned labels.
Gets or sets the maxlength HTML attribute, indicating
the maximum number of characters the user can enter.
This constraint is evaluated only when the value changes.
Gets or sets the name of the element.
Gets or sets the placeholder HTML attribute, containing a hint to
the user about what to enter in the control.
Gets or sets the rows HTML attribute, indicating
the number of visible text lines for the control.
Gets the direction in which selection occurred. This is "forward" if
selection was performed in the start-to-end direction of the current
locale, or "backward" for the opposite direction.
Gets or sets the index of the end of selected text. If no text
is selected, contains the index of the character that follows
the input cursor. On being set, the control behaves as if
setSelectionRange() had been called with this as the second
argument, and selectionStart as the first argument.
Gets or sets the index of the beginning of selected text.
If no text is selected, contains the index of the character
that follows the input cursor. On being set, the control behaves
as if setSelectionRange() had been called with this as the first
argument, and selectionEnd as the second argument.
Gets the codepoint length of the control's value.
Gets the type (textarea).
Gets or sets the value.
Gets or sets the wrap HTML attribute, indicating how the control wraps text.
Selects a range of text, and sets selectionStart and selectionEnd.
If either argument is greater than the length of the value, it is treated
as pointing to the end of the value. If end is less than start, then
both are treated as the value of end.
void SelectAll()
Selects the contents of the textarea.