C# Class MonoTouch.Dialog.StringElement

Inheritance: RootElement, IElementSizing
显示文件 Open project: escoz/MonoMobile.Forms Class Usage Examples

Public Properties

Property Type Description
Alignment UITextAlignment
CellAccessory UITableViewCellAccessory
CellStyle UITableViewCellStyle
Image UIImage
RowHeight float
ShowValueAsBadge bool
Value string

Public Methods

Method Description
GetCell ( UITableView tv ) : UITableViewCell
GetHeight ( UITableView tableView, NSIndexPath indexPath ) : float
Matches ( string text ) : bool
Selected ( DialogViewController dvc, UITableView tableView, NSIndexPath indexPath ) : void
StringElement ( string caption ) : System
StringElement ( string caption, System.Action tapped ) : System
StringElement ( string caption, string value ) : System
StringElement ( string caption, string value, System.Action tapped ) : System
StringElement ( string caption, string value, UIImage image, System.Action tapped ) : System
Summary ( ) : string

Protected Methods

Method Description
HasTappedEvent ( ) : bool

Method Details

GetCell() public method

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

GetHeight() public method

public GetHeight ( UITableView tableView, NSIndexPath indexPath ) : float
tableView UITableView
indexPath NSIndexPath
return float

HasTappedEvent() protected method

protected HasTappedEvent ( ) : bool
return bool

Matches() public method

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

Selected() public method

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

StringElement() public method

public StringElement ( string caption ) : System
caption string
return System

StringElement() public method

public StringElement ( string caption, System.Action tapped ) : System
caption string
tapped System.Action
return System

StringElement() public method

public StringElement ( string caption, string value ) : System
caption string
value string
return System

StringElement() public method

public StringElement ( string caption, string value, System.Action tapped ) : System
caption string
value string
tapped System.Action
return System

StringElement() public method

public StringElement ( string caption, string value, UIImage image, System.Action tapped ) : System
caption string
value string
image UIImage
tapped System.Action
return System

Summary() public method

public Summary ( ) : string
return string

Property Details

Alignment public_oe property

public UITextAlignment Alignment
return UITextAlignment

CellAccessory public_oe property

public UITableViewCellAccessory CellAccessory
return UITableViewCellAccessory

CellStyle public_oe property

public UITableViewCellStyle CellStyle
return UITableViewCellStyle

Image public_oe property

public UIImage Image
return UIImage

RowHeight public_oe property

public float RowHeight
return float

ShowValueAsBadge public_oe property

public bool ShowValueAsBadge
return bool

Value public_oe property

public string Value
return string