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

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

Méthodes publiques

Méthode Description
ColorCellRenderer ( ) : System

Initializes a new instance of the ColorCellRenderer class with default settings

OnPaintCell ( PaintCellEventArgs e ) : void

Raises the PaintCell event

Méthodes protégées

Méthode Description
CalcColorRect ( RowAlignment rowAlignment, ColumnAlignment columnAlignment ) : Rectangle

Returns a Rectangle that specifies the size and location of the Color rectangle

OnPaint ( PaintCellEventArgs e ) : void

Raises the Paint event

Method Details

CalcColorRect() protected méthode

Returns a Rectangle that specifies the size and location of the Color rectangle
protected CalcColorRect ( RowAlignment rowAlignment, ColumnAlignment columnAlignment ) : Rectangle
rowAlignment RowAlignment The alignment of the Cells Row
columnAlignment ColumnAlignment The alignment of the Cells Column
Résultat System.Drawing.Rectangle

ColorCellRenderer() public méthode

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

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

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