C# Class CrossUI.iOS.Dialog.Elements.StyledStringElement

A version of the StringElement that can be styled with a number of formatting options and can render images or background images either from UIImage parameters or by downloading them from the net.
Inheritance: StringElement, IImageUpdated, IColorizeBackground
Datei anzeigen Open project: MvvmCross/MvvmCross

Public Methods

Method Description
StyledStringElement ( string caption = "" ) : Foundation
StyledStringElement ( string caption, System.Action tapped ) : Foundation
StyledStringElement ( string caption, string value ) : Foundation
StyledStringElement ( string caption, string value, UITableViewCellStyle style ) : Foundation

Protected Methods

Method Description
ClearBackground ( UITableViewCell cell ) : void
GetCellImpl ( UITableView tv ) : UITableViewCell
GetKey ( int style ) : string
PrepareCell ( UITableViewCell cell ) : void
UpdateCaptionDisplay ( UITableViewCell cell ) : void
UpdateCellDisplay ( UITableViewCell cell ) : void
UpdateDetailDisplay ( UITableViewCell cell ) : void

Private Methods

Method Description
AccessoryTap ( ) : void
IColorizeBackground ( UITableView tableView, UITableViewCell cell, NSIndexPath indexPath ) : void
IImageUpdated ( Uri uri ) : void
OnImageInfo ( ) : ExtraInfo

Method Details

ClearBackground() protected method

protected ClearBackground ( UITableViewCell cell ) : void
cell UITableViewCell
return void

GetCellImpl() protected method

protected GetCellImpl ( UITableView tv ) : UITableViewCell
tv UITableView
return UITableViewCell

GetKey() protected method

protected GetKey ( int style ) : string
style int
return string

PrepareCell() protected method

protected PrepareCell ( UITableViewCell cell ) : void
cell UITableViewCell
return void

StyledStringElement() public method

public StyledStringElement ( string caption = "" ) : Foundation
caption string
return Foundation

StyledStringElement() public method

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

StyledStringElement() public method

public StyledStringElement ( string caption, string value ) : Foundation
caption string
value string
return Foundation

StyledStringElement() public method

public StyledStringElement ( string caption, string value, UITableViewCellStyle style ) : Foundation
caption string
value string
style UITableViewCellStyle
return Foundation

UpdateCaptionDisplay() protected method

protected UpdateCaptionDisplay ( UITableViewCell cell ) : void
cell UITableViewCell
return void

UpdateCellDisplay() protected method

protected UpdateCellDisplay ( UITableViewCell cell ) : void
cell UITableViewCell
return void

UpdateDetailDisplay() protected method

protected UpdateDetailDisplay ( UITableViewCell cell ) : void
cell UITableViewCell
return void