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
파일 보기 프로젝트 열기: MvvmCross/MvvmCross

공개 메소드들

메소드 설명
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