C# 클래스 XPTable.Renderers.CellRenderer

Base class for Renderers that draw Cells
상속: XPTable.Renderers.Renderer, ICellRenderer
파일 보기 프로젝트 열기: binaryage/xrefresh

보호된 프로퍼티들

프로퍼티 타입 설명
padding XPTable.Models.CellPadding

공개 메소드들

메소드 설명
Dispose ( ) : void

Releases the unmanaged resources used by the Renderer and optionally releases the managed resources

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.

OnClick ( XPTable.Events.CellMouseEventArgs e ) : void

Raises the Click event

OnDoubleClick ( XPTable.Events.CellMouseEventArgs e ) : void

Raises the DoubleClick event

OnGotFocus ( XPTable.Events.CellFocusEventArgs e ) : void

Raises the GotFocus event

OnKeyDown ( XPTable.Events.CellKeyEventArgs e ) : void

Raises the KeyDown event

OnKeyUp ( XPTable.Events.CellKeyEventArgs e ) : void

Raises the KeyUp event

OnLostFocus ( XPTable.Events.CellFocusEventArgs e ) : void

Raises the LostFocus event

OnMouseDown ( XPTable.Events.CellMouseEventArgs e ) : void

Raises the MouseDown event

OnMouseEnter ( XPTable.Events.CellMouseEventArgs e ) : void

Raises the MouseEnter event

OnMouseLeave ( XPTable.Events.CellMouseEventArgs e ) : void

Raises the MouseLeave event

OnMouseMove ( XPTable.Events.CellMouseEventArgs e ) : void

Raises the MouseMove event

OnMouseUp ( XPTable.Events.CellMouseEventArgs e ) : void

Raises the MouseUp event

OnPaintCell ( XPTable.Events.PaintCellEventArgs e ) : void

Raises the PaintCell event

보호된 메소드들

메소드 설명
CellRenderer ( ) : System

Initializes a new instance of the CellRenderer class with default settings

GetRendererData ( Cell cell ) : object

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

OnPaint ( XPTable.Events.PaintCellEventArgs e ) : void

Raises the Paint event

OnPaintBackground ( XPTable.Events.PaintCellEventArgs e ) : void

Raises the PaintBackground event

OnPaintBorder ( XPTable.Events.PaintCellEventArgs e, Pen pen ) : void

Raises the PaintBorder event

SetRendererData ( Cell cell, object value ) : void

Sets the specified renderer specific data used by the Renderer for the specified Cell

메소드 상세

CellRenderer() 보호된 메소드

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

Dispose() 공개 메소드

Releases the unmanaged resources used by the Renderer and optionally releases the managed resources
public Dispose ( ) : void
리턴 void

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 The GDI+ drawing surface provided by the Paint event.
cell XPTable.Models.Cell
리턴 int

GetRendererData() 보호된 메소드

Gets the renderer specific data used by the Renderer from the specified Cell
protected GetRendererData ( Cell cell ) : object
cell XPTable.Models.Cell The Cell to get the renderer data for
리턴 object

OnClick() 공개 메소드

Raises the Click event
public OnClick ( XPTable.Events.CellMouseEventArgs e ) : void
e XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
리턴 void

OnDoubleClick() 공개 메소드

Raises the DoubleClick event
public OnDoubleClick ( XPTable.Events.CellMouseEventArgs e ) : void
e XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
리턴 void

OnGotFocus() 공개 메소드

Raises the GotFocus event
public OnGotFocus ( XPTable.Events.CellFocusEventArgs e ) : void
e XPTable.Events.CellFocusEventArgs A CellFocusEventArgs that contains the event data
리턴 void

OnKeyDown() 공개 메소드

Raises the KeyDown event
public OnKeyDown ( XPTable.Events.CellKeyEventArgs e ) : void
e XPTable.Events.CellKeyEventArgs A CellKeyEventArgs that contains the event data
리턴 void

OnKeyUp() 공개 메소드

Raises the KeyUp event
public OnKeyUp ( XPTable.Events.CellKeyEventArgs e ) : void
e XPTable.Events.CellKeyEventArgs A CellKeyEventArgs that contains the event data
리턴 void

OnLostFocus() 공개 메소드

Raises the LostFocus event
public OnLostFocus ( XPTable.Events.CellFocusEventArgs e ) : void
e XPTable.Events.CellFocusEventArgs A CellFocusEventArgs that contains the event data
리턴 void

OnMouseDown() 공개 메소드

Raises the MouseDown event
public OnMouseDown ( XPTable.Events.CellMouseEventArgs e ) : void
e XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
리턴 void

OnMouseEnter() 공개 메소드

Raises the MouseEnter event
public OnMouseEnter ( XPTable.Events.CellMouseEventArgs e ) : void
e XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
리턴 void

OnMouseLeave() 공개 메소드

Raises the MouseLeave event
public OnMouseLeave ( XPTable.Events.CellMouseEventArgs e ) : void
e XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
리턴 void

OnMouseMove() 공개 메소드

Raises the MouseMove event
public OnMouseMove ( XPTable.Events.CellMouseEventArgs e ) : void
e XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
리턴 void

OnMouseUp() 공개 메소드

Raises the MouseUp event
public OnMouseUp ( XPTable.Events.CellMouseEventArgs e ) : void
e XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
리턴 void

OnPaint() 보호된 메소드

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

OnPaintBackground() 보호된 메소드

Raises the PaintBackground event
protected OnPaintBackground ( XPTable.Events.PaintCellEventArgs e ) : void
e XPTable.Events.PaintCellEventArgs A PaintCellEventArgs that contains the event data
리턴 void

OnPaintBorder() 보호된 메소드

Raises the PaintBorder event
protected OnPaintBorder ( XPTable.Events.PaintCellEventArgs e, Pen pen ) : void
e XPTable.Events.PaintCellEventArgs A PaintCellEventArgs that contains the event data
pen System.Drawing.Pen The pen used to draw the border
리턴 void

OnPaintCell() 공개 메소드

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

SetRendererData() 보호된 메소드

Sets the specified renderer specific data used by the Renderer for the specified Cell
protected SetRendererData ( Cell cell, object value ) : void
cell XPTable.Models.Cell The Cell for which the data is to be stored
value object The renderer specific data to be stored
리턴 void

프로퍼티 상세

padding 보호되어 있는 프로퍼티

The amount of padding for the cell being rendered
protected CellPadding,XPTable.Models padding
리턴 XPTable.Models.CellPadding