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

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

공개 메소드들

메소드 설명
ControlCellRenderer ( ) : System

Initializes a new instance of the ControlCellRenderer class with default settings

OnPaintCell ( PaintCellEventArgs e ) : void

Raises the PaintCell event

보호된 메소드들

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

Gets the Rectangle that specifies the Size and Location of the control contained in the current Cell

GetControlRendererData ( Cell cell ) : ControlRendererData

Gets the ControlRendererData specific data used by the Renderer from the specified Cell

OnPaint ( PaintCellEventArgs e ) : void

Raises the Paint event

OnPaintBackground ( PaintCellEventArgs e ) : void

We don't want any background.

메소드 상세

CalcControlRect() 보호된 메소드

Gets the Rectangle that specifies the Size and Location of the control contained in the current Cell
protected CalcControlRect ( RowAlignment rowAlignment, ColumnAlignment columnAlignment ) : Rectangle
rowAlignment RowAlignment
columnAlignment ColumnAlignment
리턴 System.Drawing.Rectangle

ControlCellRenderer() 공개 메소드

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

GetControlRendererData() 보호된 메소드

Gets the ControlRendererData specific data used by the Renderer from the specified Cell
protected GetControlRendererData ( Cell cell ) : ControlRendererData
cell ZForge.Controls.XPTable.Models.Cell
리턴 ControlRendererData

OnPaint() 보호된 메소드

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

OnPaintBackground() 보호된 메소드

We don't want any background.
protected OnPaintBackground ( PaintCellEventArgs e ) : void
e ZForge.Controls.XPTable.Events.PaintCellEventArgs
리턴 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