Show / Hide Table of Contents

    Class Entry

    Extends the Entry control, providing basic formatting features, i.e. font color, size, placeholder.

    Inheritance
    System.Object
    Entry
    EditfieldEntry
    Implements
    IMeasurable
    IBatchable
    IEntry
    Namespace: Tizen.UIExtensions.ElmSharp
    Assembly: Tizen.UIExtensions.ElmSharp.dll
    Syntax
    public class Entry : ElmSharp.Entry, IMeasurable, IBatchable, IEntry

    Constructors

    Entry(EvasObject)

    Initializes a new instance of the Entry class.

    Declaration
    public Entry(EvasObject parent)
    Parameters
    Type Name Description
    EvasObject parent

    Parent evas object.

    Properties

    FontAttributes

    Gets or sets the font family of the text and the placeholder.

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

    The font family of the text and the placeholder.

    FontFamily

    Gets or sets the color of the text.

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

    The color of the text.

    FontSize

    Gets or sets the size of the font of both text and placeholder.

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

    The size of the font of both text and placeholder.

    HorizontalTextAlignment

    Gets or sets the horizontal text alignment of both text and placeholder.

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

    The horizontal text alignment of both text and placeholder.

    Keyboard

    Gets or sets the keyboard type used by the entry.

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

    The keyboard type.

    Placeholder

    Gets or sets the placeholder's text.

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

    The placeholder's text.

    PlaceholderColor

    Gets or sets the color of the placeholder's text.

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

    The color of the placeholder's text.

    Text

    Gets or sets the text.

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

    The text.

    TextColor

    Gets or sets the color of the text.

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

    The color of the text.

    Methods

    Measure(Double, Double)

    Implementation of the IMeasurable.Measure() method.

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

    OnEntryLayoutFocused()

    Declaration
    protected virtual void OnEntryLayoutFocused()

    OnEntryLayoutUnfocused()

    Declaration
    protected virtual void OnEntryLayoutUnfocused()

    OnTextBlcokUnfocused()

    Declaration
    protected virtual void OnTextBlcokUnfocused()

    OnTextBlockFocused()

    Declaration
    protected virtual void OnTextBlockFocused()

    OnTextChanged(String, String)

    Declaration
    protected virtual void OnTextChanged(string oldValue, string newValue)
    Parameters
    Type Name Description
    System.String oldValue
    System.String newValue

    SetInternalPlaceholderAndStyle(String)

    Declaration
    protected virtual void SetInternalPlaceholderAndStyle(string markupText)
    Parameters
    Type Name Description
    System.String markupText

    Events

    EntryLayoutFocused

    Occurs when the layout of entry get focused.

    Declaration
    public event EventHandler EntryLayoutFocused
    Event Type
    Type Description
    System.EventHandler

    EntryLayoutUnfocused

    Occurs when the layout of entry loses focus

    Declaration
    public event EventHandler EntryLayoutUnfocused
    Event Type
    Type Description
    System.EventHandler

    TextBlockFocused

    Occurs when the text block get focused.

    Declaration
    public event EventHandler TextBlockFocused
    Event Type
    Type Description
    System.EventHandler

    TextBlockUnfocused

    Occurs when the text block loses focus

    Declaration
    public event EventHandler TextBlockUnfocused
    Event Type
    Type Description
    System.EventHandler

    TextChanged

    Occurs when the text has changed.

    Declaration
    public event EventHandler<TextChangedEventArgs> TextChanged
    Event Type
    Type Description
    System.EventHandler<TextChangedEventArgs>

    Explicit Interface Implementations

    IBatchable.OnBatchCommitted()

    Declaration
    void IBatchable.OnBatchCommitted()

    Implements

    IMeasurable
    IBatchable
    IEntry

    Extension Methods

    BatchableExtensions.BatchBegin(IBatchable)
    BatchableExtensions.BatchCommit(IBatchable)
    BatchableExtensions.IsBatched(IBatchable)
    Back to top Copyright © 2021 Samsung
    Generated by DocFX