C# Class XRefresh.GDITextCellRenderer

Inheritance: XPTable.Renderers.CellRenderer
显示文件 Open project: binaryage/xrefresh

Public Methods

Method Description
GDITextCellRenderer ( ) : System

Initializes a new instance of the TextCellRenderer class with default settings

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.

Protected Methods

Method Description
OnPaint ( XPTable.Events.PaintCellEventArgs e ) : void

Raises the Paint event

Method Details

GDITextCellRenderer() public method

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

GetCellHeight() public method

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 XPTable.Models.Cell
return int

OnPaint() protected method

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