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

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

공개 메소드들

메소드 설명
DateTimeCellRenderer ( ) : System

Initializes a new instance of the DateTimeCellRenderer class with default settings

OnPaintCell ( PaintCellEventArgs e ) : void

Raises the PaintCell event

보호된 메소드들

메소드 설명
DrawText ( System.DateTime dateTime, Graphics g, Brush brush, Rectangle textRect ) : void

Draws the DateTime text

OnPaint ( PaintCellEventArgs e ) : void

Raises the Paint event

메소드 상세

DateTimeCellRenderer() 공개 메소드

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

DrawText() 보호된 메소드

Draws the DateTime text
protected DrawText ( System.DateTime dateTime, Graphics g, Brush brush, Rectangle textRect ) : void
dateTime System.DateTime The DateTime value to be drawn
g System.Drawing.Graphics The Graphics to draw on
brush System.Drawing.Brush The Brush to draw the text with
textRect System.Drawing.Rectangle A Rectangle that specifies the bounds of the text
리턴 void

OnPaint() 보호된 메소드

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

OnPaintCell() 공개 메소드

Raises the PaintCell event
public OnPaintCell ( PaintCellEventArgs e ) : void
e ZForge.Controls.XPTable.Events.PaintCellEventArgs A PaintCellEventArgs that contains the event data
리턴 void