C# Class MonoMobile.Dialog.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
Mostra file Open project: moljac/MonoMobile.Dialog Class Usage Examples

Public Properties

Property Type Description
Accessory UITableViewCellAccessory
Font UIFont
LineBreakMode UILineBreakMode
Lines int
SubtitleFont UIFont
TextColor UIColor

Protected Properties

Property Type Description
style UITableViewCellStyle

Public Methods

Method Description
GetCell ( UITableView tv ) : UITableViewCell
StyledStringElement ( string caption ) : System
StyledStringElement ( string caption, NSAction tapped ) : System
StyledStringElement ( string caption, string value ) : System
StyledStringElement ( string caption, string value, UITableViewCellStyle style ) : System

Protected Methods

Method Description
GetKey ( int style ) : string
PrepareCell ( UITableViewCell cell ) : void

Private Methods

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

Method Details

GetCell() public method

public GetCell ( 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 ) : System
caption string
return System

StyledStringElement() public method

public StyledStringElement ( string caption, NSAction tapped ) : System
caption string
tapped NSAction
return System

StyledStringElement() public method

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

StyledStringElement() public method

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

Property Details

Accessory public_oe property

public UITableViewCellAccessory Accessory
return UITableViewCellAccessory

Font public_oe property

public UIFont Font
return UIFont

LineBreakMode public_oe property

public UILineBreakMode LineBreakMode
return UILineBreakMode

Lines public_oe property

public int Lines
return int

SubtitleFont public_oe property

public UIFont SubtitleFont
return UIFont

TextColor public_oe property

public UIColor TextColor
return UIColor

style protected_oe property

protected UITableViewCellStyle style
return UITableViewCellStyle