Xamarin.Forms Guides | Samples

Xamarin.Forms.Editor Constructor

Initializes a new instance of the Editor class.

Syntax

public Editor ()

Remarks

The following example creates a Editor with a Chat keyboard that fills the available space.

C# Example

var editor = new Editor {
  VerticalOptions = LayoutOptions.FillAndExpand,
  Keyboard = Keyboard.Chat,
};

XAML for Xamarin.Forms supports the following property for the Editor class:

PropertyValue
Text

The initial text that will appear in the editor.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0