C# 클래스 ZForge.Controls.XPTable.Renderers.TextCellRenderer

A CellRenderer that draws Cell contents as strings
상속: CellRenderer
파일 보기 프로젝트 열기: zhuangyy/Motion

공개 메소드들

메소드 설명
GetCellHeight ( Graphics graphics, Cell cell ) : int

Returns the height that is required to render this cell. If zero is returned then the default row height is used.

TextCellRenderer ( ) : System

Initializes a new instance of the TextCellRenderer class with default settings

보호된 메소드들

메소드 설명
OnPaint ( PaintCellEventArgs e ) : void

Raises the Paint event

메소드 상세

GetCellHeight() 공개 메소드

Returns the height that is required to render this cell. If zero is returned then the default row height is used.
public GetCellHeight ( Graphics graphics, Cell cell ) : int
graphics System.Drawing.Graphics
cell ZForge.Controls.XPTable.Models.Cell
리턴 int

OnPaint() 보호된 메소드

Raises the Paint event
protected OnPaint ( PaintCellEventArgs e ) : void
e ZForge.Controls.XPTable.Events.PaintCellEventArgs A PaintCellEventArgs that contains the event data
리턴 void

TextCellRenderer() 공개 메소드

Initializes a new instance of the TextCellRenderer class with default settings
public TextCellRenderer ( ) : System
리턴 System