C# Class Eto.Forms.TextArea

Inheritance: Eto.Forms.TextControl
Afficher le fichier Open project: picoe/Eto Class Usage Examples

Private Properties

Свойство Type Description
TextArea Eto.Drawing

Méthodes publiques

Méthode Description
Append ( string text, bool scrollToCursor = false ) : void

Append the specified text to the control and optionally scrolls to make the inserted text visible.

This is an optimized way of inserting text into a TextArea when its content gets large.

SelectAll ( ) : void

Selects all text.

When setting the selection, the control will be focussed and the associated keyboard may appear on mobile platforms.

Méthodes protégées

Méthode Description
GetCallback ( ) : object

Gets an instance of an object used to perform callbacks to the widget from handler implementations

OnCaretIndexChanged ( EventArgs e ) : void

Raises the CaretIndexChanged event.

OnSelectionChanged ( EventArgs e ) : void

Raises the SelectionChanged event.

Private Methods

Méthode Description
TextArea ( ) : Eto.Drawing

Method Details

Append() public méthode

Append the specified text to the control and optionally scrolls to make the inserted text visible.
This is an optimized way of inserting text into a TextArea when its content gets large.
public Append ( string text, bool scrollToCursor = false ) : void
text string Text to insert.
scrollToCursor bool If set to true, scroll to the inserted text.
Résultat void

GetCallback() protected méthode

Gets an instance of an object used to perform callbacks to the widget from handler implementations
protected GetCallback ( ) : object
Résultat object

OnCaretIndexChanged() protected méthode

Raises the CaretIndexChanged event.
protected OnCaretIndexChanged ( EventArgs e ) : void
e System.EventArgs Event arguments.
Résultat void

OnSelectionChanged() protected méthode

Raises the SelectionChanged event.
protected OnSelectionChanged ( EventArgs e ) : void
e System.EventArgs Event arguments.
Résultat void

SelectAll() public méthode

Selects all text.
When setting the selection, the control will be focussed and the associated keyboard may appear on mobile platforms.
public SelectAll ( ) : void
Résultat void