C# 클래스 MonoTouch.Dialog.BaseBooleanImageElement

This class is used to render a string + a state in the form of an image.
It is abstract to avoid making this element keep two pointers for the state images, saving 8 bytes per slot. The more derived class "BooleanImageElement" shows one way to implement this by keeping two pointers, a better implementation would return pointers to images that were preloaded and are static. A subclass only needs to implement the GetImage method.
상속: BoolElement
파일 보기 프로젝트 열기: nicwise/londonbikeapp 1 사용 예제들

공개 메소드들

메소드 설명
BaseBooleanImageElement ( string caption, bool value ) : System
GetCell ( UITableView tv ) : UITableViewCell

보호된 메소드들

메소드 설명
GetImage ( ) : UIImage

메소드 상세

BaseBooleanImageElement() 공개 메소드

public BaseBooleanImageElement ( string caption, bool value ) : System
caption string
value bool
리턴 System

GetCell() 공개 메소드

public GetCell ( UITableView tv ) : UITableViewCell
tv UITableView
리턴 UITableViewCell

GetImage() 보호된 추상적인 메소드

protected abstract GetImage ( ) : UIImage
리턴 UIImage