Show / Hide Table of Contents

    Class Editor

    A control which provides a multi-line editable text editor.

    Inheritance
    System.Object
    Editor
    Implements
    IMeasurable
    Namespace: Tizen.UIExtensions.NUI
    Assembly: Tizen.UIExtensions.NUI.dll
    Syntax
    public class Editor : TextEditor, IMeasurable

    Constructors

    Editor()

    Initializes a new instance of the Editor class.

    Declaration
    public Editor()

    Properties

    AutoCapital

    Sets or Gets the autocapitalization type on the im module.

    Declaration
    public NUI.InputMethod.AutoCapitalType AutoCapital { get; set; }
    Property Value
    Type Description
    Tizen.NUI.InputMethod.AutoCapitalType

    FontAttributes

    Gets a value that indicates whether the font for the label is bold, italic, or neither

    Declaration
    public FontAttributes FontAttributes { get; set; }
    Property Value
    Type Description
    FontAttributes

    FontSize

    Gets or sets the font size for the text.

    Declaration
    public double FontSize { get; set; }
    Property Value
    Type Description
    System.Double

    The size of the font as point unit

    HorizontalTextAlignment

    Gets or sets the horizontal text alignment.

    Declaration
    public TextAlignment HorizontalTextAlignment { get; set; }
    Property Value
    Type Description
    TextAlignment

    The horizontal text alignment.

    IsReadOnly

    Gets or sets a value that indicates whether user should be prevented from modifying the text. Default is false.

    Declaration
    public bool IsReadOnly { get; set; }
    Property Value
    Type Description
    System.Boolean

    IsTextPredictionEnabled

    Gets or sets a value that controls whether text prediction and automatic text correction is on or off.

    Declaration
    public bool IsTextPredictionEnabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    Keyboard

    Gets or sets the keyboard type used by the Editor.

    Declaration
    public Keyboard Keyboard { get; set; }
    Property Value
    Type Description
    Keyboard

    The keyboard type.

    Placeholder

    Gets or sets the text that is displayed when the control is empty.

    Declaration
    public string Placeholder { get; set; }
    Property Value
    Type Description
    System.String

    PlaceholderColor

    Gets or sets the color of the placeholder text.

    Declaration
    public Color PlaceholderColor { get; set; }
    Property Value
    Type Description
    Color

    ReturnType

    Gets or sets an enumeration value that controls the appearance of the return button.

    Declaration
    public ReturnType ReturnType { get; set; }
    Property Value
    Type Description
    ReturnType

    TextColor

    Gets or sets the color of the formatted text.

    Declaration
    public Color TextColor { get; set; }
    Property Value
    Type Description
    Color

    The color of the text.

    Methods

    Measure(Double, Double)

    Implements IMeasurable to provide a desired size of the label.

    Declaration
    public Size Measure(double availableWidth, double availableHeight)
    Parameters
    Type Name Description
    System.Double availableWidth

    Available width.

    System.Double availableHeight

    Available height.

    Returns
    Type Description
    Size

    Size of the control that fits the available area.

    Implements

    IMeasurable
    Back to top Copyright © 2021 Samsung
    Generated by DocFX