Click or drag to resize

TextArea Class

Control for multi-line text
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public class TextArea : TextControl

The TextArea type exposes the following members.

Constructors
  NameDescription
Public methodTextArea
Initializes a new instance of the TextArea class
Top
Properties
  NameDescription
Public propertyAcceptsReturn
Gets or sets a value indicating whether the return key is inserted into the text area, or if it should be ignored by this control.
Public propertyAcceptsTab
Gets or sets a value indicating whether the tab key is inserted into the text area, or if it should be ignored by this control and used for navigating to the next control.
Public propertyCaretIndex
Gets or sets the index of the insertion caret.
Public propertyHorizontalAlign Obsolete.
Gets or sets the horizontal alignment of the text.
Public propertyReadOnly
Gets or sets a value indicating whether this TextArea is read only.
Public propertySelectedText
Gets or sets the selected text.
Public propertySelection
Gets or sets the range of selected text.
Public propertySpellCheck
Gets or sets a value indicating whether this TextArea will perform spell checking.
Public propertySpellCheckIsSupported
Gets a value indicating whether the SpellCheck property is supported on the control's platform.
Public propertySupportedTextReplacements
Gets the text replacements that this control supports on the current platform.
Public propertyTextAlignment
Gets or sets the horizontal alignment of the text.
Public propertyTextReplacements
Gets or sets a hint value indicating whether this TextArea will automatically correct text.
Public propertyWrap
Gets or sets a value indicating whether text will wrap if lines are longer than the width of the control.
Top
Methods
  NameDescription
Public methodAppend
Append the specified text to the control and optionally scrolls to make the inserted text visible.
Protected methodGetCallback
Gets an instance of an object used to perform callbacks to the widget from handler implementations
(Overrides TextControlGetCallback.)
Protected methodOnCaretIndexChanged
Raises the CaretIndexChanged event.
Protected methodOnSelectionChanged
Raises the SelectionChanged event.
Public methodSelectAll
Selects all text.
Top
Events
  NameDescription
Public eventCaretIndexChanged
Occurs when the CaretIndex has changed.
Public eventSelectionChanged
Occurs when the Selection is changed.
Top
Fields
  NameDescription
Public fieldStatic memberCaretIndexChangedEvent
Identifier for handlers when attaching the CaretIndexChanged event.
Public fieldStatic memberSelectionChangedEvent
Identifier for handlers when attaching the SelectionChanged event.
Top
Remarks
This differs from the TextBox in that it is used for multi-line text entry and can accept Tab and Enter input.
See Also