Click or drag to resize

TextControl Class

Base class for controls implementing text and text changing events, when it has a singular text property.
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
[ContentPropertyAttribute("Text")]
public abstract class TextControl : CommonControl

The TextControl type exposes the following members.

Constructors
  NameDescription
Protected methodTextControl
Initializes a new instance of the TextControl class
Top
Properties
  NameDescription
Public propertyText
Gets or sets the text of the control.
Public propertyTextBinding
Gets the binding for the Text property.
Public propertyTextColor
Gets or sets the color of the text.
Top
Methods
  NameDescription
Protected methodGetCallback
Gets an instance of an object used to perform callbacks to the widget from handler implementations
(Overrides ControlGetCallback.)
Protected methodOnTextChanged
Raises the TextChanged event.
Top
Events
  NameDescription
Public eventTextChanged
Occurs when the Text property is changed.
Top
Fields
  NameDescription
Public fieldStatic memberTextChangedEvent
Identifier for handlers when attaching the TextChanged event
Top
Remarks
If a control has multiple text properties, it is best to implement those specifically to identify what the property represents more clearly.
See Also
Inheritance Hierarchy