C# Class BrightIdeasSoftware.CheckStateRenderer

This renderer draws just a checkbox to match the check state of our model object.
Inheritance: BaseRenderer
Afficher le fichier Open project: soywiz/cspspemu

Méthodes publiques

Méthode Description
Render ( Graphics g, Rectangle r ) : void

Draw our cell

Méthodes protégées

Méthode Description
HandleGetEditRectangle ( Graphics g, Rectangle cellBounds, BrightIdeasSoftware.OLVListItem item, int subItemIndex, Size preferredSize ) : Rectangle

Handle the GetEditRectangle request

HandleHitTest ( Graphics g, BrightIdeasSoftware.OlvListViewHitTestInfo hti, int x, int y ) : void

Handle the HitTest request

Method Details

HandleGetEditRectangle() protected méthode

Handle the GetEditRectangle request
protected HandleGetEditRectangle ( Graphics g, Rectangle cellBounds, BrightIdeasSoftware.OLVListItem item, int subItemIndex, Size preferredSize ) : Rectangle
g System.Drawing.Graphics
cellBounds System.Drawing.Rectangle
item BrightIdeasSoftware.OLVListItem
subItemIndex int
preferredSize System.Drawing.Size
Résultat System.Drawing.Rectangle

HandleHitTest() protected méthode

Handle the HitTest request
protected HandleHitTest ( Graphics g, BrightIdeasSoftware.OlvListViewHitTestInfo hti, int x, int y ) : void
g System.Drawing.Graphics
hti BrightIdeasSoftware.OlvListViewHitTestInfo
x int
y int
Résultat void

Render() public méthode

Draw our cell
public Render ( Graphics g, Rectangle r ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
Résultat void