C# Class MonoMobile.Dialog.BadgeElement

This element can be used to show an image with some text
The font can be configured after the element has been created by assignign to the Font property; If you want to render multiple lines of text, set the MultiLine property to true. If no font is specified, it will default to Helvetica 17. A static method MakeCalendarBadge is provided that can render a calendar badge like the iPhone OS. It will compose the text on top of the image which is expected to be 57x57
Inheritance: Element, IElementSizing
Afficher le fichier Open project: moljac/MonoMobile.Dialog

Méthodes publiques

Свойство Type Description
Accessory UITableViewCellAccessory
ContentMode UIViewContentMode
LineBreakMode UILineBreakMode
Lines int

Méthodes publiques

Méthode Description
BadgeElement ( UIImage badgeImage, string cellText ) : System
BadgeElement ( UIImage badgeImage, string cellText, NSAction tapped ) : System
GetCell ( UITableView tv ) : UITableViewCell
GetHeight ( UITableView tableView, NSIndexPath indexPath ) : float
MakeCalendarBadge ( UIImage template, string smallText, string bigText ) : UIImage
Selected ( DialogViewController dvc, UITableView tableView, NSIndexPath path ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

BadgeElement() public méthode

public BadgeElement ( UIImage badgeImage, string cellText ) : System
badgeImage UIImage
cellText string
Résultat System

BadgeElement() public méthode

public BadgeElement ( UIImage badgeImage, string cellText, NSAction tapped ) : System
badgeImage UIImage
cellText string
tapped NSAction
Résultat System

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetCell() public méthode

public GetCell ( UITableView tv ) : UITableViewCell
tv UITableView
Résultat UITableViewCell

GetHeight() public méthode

public GetHeight ( UITableView tableView, NSIndexPath indexPath ) : float
tableView UITableView
indexPath NSIndexPath
Résultat float

MakeCalendarBadge() public static méthode

public static MakeCalendarBadge ( UIImage template, string smallText, string bigText ) : UIImage
template UIImage
smallText string
bigText string
Résultat UIImage

Selected() public méthode

public Selected ( DialogViewController dvc, UITableView tableView, NSIndexPath path ) : void
dvc DialogViewController
tableView UITableView
path NSIndexPath
Résultat void

Property Details

Accessory public_oe property

public UITableViewCellAccessory Accessory
Résultat UITableViewCellAccessory

ContentMode public_oe property

public UIViewContentMode ContentMode
Résultat UIViewContentMode

LineBreakMode public_oe property

public UILineBreakMode LineBreakMode
Résultat UILineBreakMode

Lines public_oe property

public int Lines
Résultat int