EntryElement Class

Definition

An element that can be used to enter text.

public class EntryElement : MonoTouch.Dialog.Element
type EntryElement = class
    inherit Element
Inheritance
EntryElement

Remarks

This element can be used to enter text both regular and password protected entries. The Text fields in a given section are aligned with each other.

Constructors

EntryElement(String, String, String)

Constructs an EntryElement with the given caption, placeholder and initial value.

EntryElement(String, String, String, Boolean)

Constructs an EntryElement for password entry with the given caption, placeholder and initial value.

Fields

Caption

The caption to display for this given element

(Inherited from Element)
Parent

Handle to the container object.

(Inherited from Element)
val

Properties

AlignEntryWithAllSections
AutocapitalizationType

Configuration to set the entry's auto capitalization mode.

AutocorrectionType

Configuration to set the entry's auto correction type.

CellKey

Subclasses that override the GetCell method should override this method as well

ClearButtonMode

Controls whether the standard clear button widget appears on the entry.

EnablesReturnKeyAutomatically
EntryEnded

Event raised when the underlying UITextField widget raises the Ended event.

EntryKey
EntryStarted
IndexPath

Returns the IndexPath of a given element. This is only valid for leaf elements, it does not work for a toplevel RootElement or a Section of if the Element has not been attached yet.

(Inherited from Element)
KeyboardType

The type of keyboard used for input, you can change this to use this for numeric input, email addressed, urls, phones.

NotifyChangedOnKeyStroke
ReturnKeyType
TextAlignment
Value

The value of the EntryElement

Methods

BecomeFirstResponder(Boolean)

Makes this cell the first responder (get the focus)

CreateTextField(CGRect)
Deselected(DialogViewController, UITableView, NSIndexPath) (Inherited from Element)
Dispose() (Inherited from Element)
Dispose(Boolean)
FetchValue()
GetActiveCell() (Inherited from Element)
GetCell(UITableView)
GetContainerTableView() (Inherited from Element)
GetImmediateRootElement()

If the cell is attached will return the immediate RootElement

(Inherited from Element)
Matches(String)

Method invoked to determine if the cell matches the given text, never invoked with a null value or an empty string.

ResignFirstResponder(Boolean)
Selected(DialogViewController, UITableView, NSIndexPath)
Summary()

Events

Changed

Event raised when the contents of the Entry have changed.n

ShouldReturn

Applies to