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

A CellRenderer that draws Cell contents as controls
Inheritance: CellRenderer
Afficher le fichier Open project: zhuangyy/Motion

Méthodes publiques

Méthode Description
ControlCellRenderer ( ) : System

Initializes a new instance of the ControlCellRenderer class with default settings

OnPaintCell ( PaintCellEventArgs e ) : void

Raises the PaintCell event

Méthodes protégées

Méthode Description
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.

Method Details

CalcControlRect() protected méthode

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
Résultat System.Drawing.Rectangle

ControlCellRenderer() public méthode

Initializes a new instance of the ControlCellRenderer class with default settings
public ControlCellRenderer ( ) : System
Résultat System

GetControlRendererData() protected méthode

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

OnPaint() protected méthode

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

OnPaintBackground() protected méthode

We don't want any background.
protected OnPaintBackground ( PaintCellEventArgs e ) : void
e ZForge.Controls.XPTable.Events.PaintCellEventArgs
Résultat void

OnPaintCell() public méthode

Raises the PaintCell event
public OnPaintCell ( PaintCellEventArgs e ) : void
e ZForge.Controls.XPTable.Events.PaintCellEventArgs A PaintCellEventArgs that contains the event data
Résultat void