C# Class MonoTouch.Dialog.MultilineEntryElement

An element that can be used to enter text.
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.
Inheritance: EntryElement, IElementSizing
显示文件 Open project: escoz/MonoMobile.Forms Class Usage Examples

Public Methods

Method Description
BecomeFirstResponder ( bool animated ) : void

Makes this cell the first responder (get the focus)

FetchValue ( ) : void

Copies the value from the UITextField in the EntryElement to the Value property and raises the Changed event if necessary.

GetCell ( UITableView tv ) : UITableViewCell
GetHeight ( MonoTouch tableView, MonoTouch indexPath ) : float
Matches ( string text ) : bool
MultilineEntryElement ( string caption, string value ) : System

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

ResignFirstResponder ( bool animated ) : void
Selected ( DialogViewController dvc, UITableView tableView, NSIndexPath indexPath ) : void
Summary ( ) : string

Protected Methods

Method Description
CreateTextField ( RectangleF frame ) : DialogTextView
Dispose ( bool disposing ) : void

Private Methods

Method Description
ComputeEntryPosition ( UITableView tv, UITableViewCell cell ) : SizeF

Method Details

BecomeFirstResponder() public method

Makes this cell the first responder (get the focus)
public BecomeFirstResponder ( bool animated ) : void
animated bool /// Whether scrolling to the location of this cell should be animated ///
return void

CreateTextField() protected method

protected CreateTextField ( RectangleF frame ) : DialogTextView
frame System.Drawing.RectangleF
return DialogTextView

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FetchValue() public method

Copies the value from the UITextField in the EntryElement to the Value property and raises the Changed event if necessary.
public FetchValue ( ) : void
return void

GetCell() public method

public GetCell ( UITableView tv ) : UITableViewCell
tv UITableView
return UITableViewCell

GetHeight() public method

public GetHeight ( MonoTouch tableView, MonoTouch indexPath ) : float
tableView MonoTouch
indexPath MonoTouch
return float

Matches() public method

public Matches ( string text ) : bool
text string
return bool

MultilineEntryElement() public method

Constructs an MultilineEntryElement with the given caption, placeholder and initial value.
public MultilineEntryElement ( string caption, string value ) : System
caption string /// The caption to use ///
value string /// Initial value. ///
return System

ResignFirstResponder() public method

public ResignFirstResponder ( bool animated ) : void
animated bool
return void

Selected() public method

public Selected ( DialogViewController dvc, UITableView tableView, NSIndexPath indexPath ) : void
dvc DialogViewController
tableView UITableView
indexPath NSIndexPath
return void

Summary() public method

public Summary ( ) : string
return string