C# 클래스 Sample.SampleOwnerDrawnElement

This is an example of implementing the OwnerDrawnElement abstract class. It makes it very simple to create an element that you draw using CoreGraphics
상속: MonoMobile.Dialog.OwnerDrawnElement
파일 보기 프로젝트 열기: moljac/MonoMobile.Dialog

공개 메소드들

메소드 설명
Draw ( RectangleF bounds, CGContext context, UIView view ) : void
FormatDate ( System.DateTime date ) : string
Height ( RectangleF bounds ) : float
SampleOwnerDrawnElement ( string text, System.DateTime sent, string from ) : System
ToString ( ) : string

비공개 메소드들

메소드 설명
TextHeight ( RectangleF bounds ) : float

메소드 상세

Draw() 공개 메소드

public Draw ( RectangleF bounds, CGContext context, UIView view ) : void
bounds System.Drawing.RectangleF
context CGContext
view UIView
리턴 void

FormatDate() 공개 메소드

public FormatDate ( System.DateTime date ) : string
date System.DateTime
리턴 string

Height() 공개 메소드

public Height ( RectangleF bounds ) : float
bounds System.Drawing.RectangleF
리턴 float

SampleOwnerDrawnElement() 공개 메소드

public SampleOwnerDrawnElement ( string text, System.DateTime sent, string from ) : System
text string
sent System.DateTime
from string
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string