C# Class Eto.Forms.TextArea

Inheritance: Eto.Forms.TextControl
Datei anzeigen Open project: picoe/Eto Class Usage Examples

Private Properties

Property Type Description
TextArea Eto.Drawing

Public Methods

Method 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.

Protected Methods

Method 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

Method Description
TextArea ( ) : Eto.Drawing

Method Details

Append() public method

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.
return void

GetCallback() protected method

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

OnCaretIndexChanged() protected method

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

OnSelectionChanged() protected method

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

SelectAll() public method

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