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

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

공개 메소드들

메소드 설명
ColorCellRenderer ( ) : System

Initializes a new instance of the ColorCellRenderer class with default settings

OnPaintCell ( PaintCellEventArgs e ) : void

Raises the PaintCell event

보호된 메소드들

메소드 설명
CalcColorRect ( RowAlignment rowAlignment, ColumnAlignment columnAlignment ) : Rectangle

Returns a Rectangle that specifies the size and location of the Color rectangle

OnPaint ( PaintCellEventArgs e ) : void

Raises the Paint event

메소드 상세

CalcColorRect() 보호된 메소드

Returns a Rectangle that specifies the size and location of the Color rectangle
protected CalcColorRect ( RowAlignment rowAlignment, ColumnAlignment columnAlignment ) : Rectangle
rowAlignment RowAlignment The alignment of the Cells Row
columnAlignment ColumnAlignment The alignment of the Cells Column
리턴 System.Drawing.Rectangle

ColorCellRenderer() 공개 메소드

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

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