C# Class ZForge.Controls.XPTable.Renderers.TextCellRenderer

A CellRenderer that draws Cell contents as strings
Inheritance: CellRenderer
Mostrar archivo Open project: zhuangyy/Motion

Public Methods

Method Description
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.

TextCellRenderer ( ) : System

Initializes a new instance of the TextCellRenderer class with default settings

Protected Methods

Method Description
OnPaint ( PaintCellEventArgs e ) : void

Raises the Paint event

Method Details

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

OnPaint() protected method

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

TextCellRenderer() public method

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