Xamarin.Forms Guides | Samples

Xamarin.Forms.Editor Class

A control that can edit multiple lines of text.

See Also: Editor


public class Editor : InputView, IEditorController, IElementConfiguration<Editor>, IFontElement


For single line entries, see Entry.


Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions:,,,,,,

The members of Xamarin.Forms.Editor are listed below.

See Also: InputView

Public Constructors

Initializes a new instance of the Editor class.

Public Fields

static readonly
FontAttributesPropertyBindableProperty. Backing store for the FontAttributes property.
static readonly
FontFamilyPropertyBindableProperty. Backing store for the FontFamily property.
static readonly
FontSizePropertyBindableProperty. Backing store for the FontSize property.
static readonly
TextColorPropertyBindableProperty. Backing store for the Editor.TextColor property.
static readonly
TextPropertyBindableProperty. Identifies the Text bindable property.

Public Properties

FontAttributesFontAttributes. Gets a value that indicates whether the font for the editor is bold, italic, or neither.
FontFamilyString. Gets the font family to which the font for the editor belongs.
FontSizeDouble. Gets the size of the font for the editor.
TextString. Gets or sets the text of the entry. This is a bindable property.
TextColorColor. Gets or sets the text color.

Public Methods

On<T>() : IPlatformElementConfiguration<T, Editor>
Returns the platform-specific instance of this Editor, on which a platform-specific method may be called.
For internal use by the Xamarin.Forms platform.

Public Events

CompletedEvent that is fired when editing has completed.
TextChangedOccurs when the text of the Editor changes.

Explicitly Implemented Interface Members

Editor$IFontElement.FontSizeDefaultValueCreatorFor internal use by the Xamarin.Forms platform.
Editor$IFontElement.OnFontAttributesChanged(FontAttributes,FontAttributes)For internal use by the Xamarin.Forms platform.
Editor$IFontElement.OnFontChanged(Font,Font)For internal use by the Xamarin.Forms platform.
Editor$IFontElement.OnFontFamilyChanged(String,String)For internal use by the Xamarin.Forms platform.
Editor$IFontElement.OnFontSizeChanged(Double,Double)For internal use by the Xamarin.Forms platform.