C# Класс CrossUI.iOS.Dialog.Elements.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
Наследование: Element, IElementSizing
Показать файл Открыть проект

Открытые методы

Метод Описание
BadgeElement ( UIKit.UIImage badgeImage, string cellText, System.Action tapped = null ) : CoreGraphics
GetHeight ( UITableView tableView, NSIndexPath indexPath ) : nfloat
MakeCalendarBadge ( UIKit.UIImage template, string smallText, string bigText ) : UIKit.UIImage

Защищенные методы

Метод Описание
GetCellImpl ( UITableView tv ) : UITableViewCell

Описание методов

BadgeElement() публичный Метод

public BadgeElement ( UIKit.UIImage badgeImage, string cellText, System.Action tapped = null ) : CoreGraphics
badgeImage UIKit.UIImage
cellText string
tapped System.Action
Результат CoreGraphics

GetCellImpl() защищенный Метод

protected GetCellImpl ( UITableView tv ) : UITableViewCell
tv UITableView
Результат UITableViewCell

GetHeight() публичный Метод

public GetHeight ( UITableView tableView, NSIndexPath indexPath ) : nfloat
tableView UITableView
indexPath NSIndexPath
Результат nfloat

MakeCalendarBadge() публичный статический Метод

public static MakeCalendarBadge ( UIKit.UIImage template, string smallText, string bigText ) : UIKit.UIImage
template UIKit.UIImage
smallText string
bigText string
Результат UIKit.UIImage