C# 클래스 BrightIdeasSoftware.CheckStateRenderer

This renderer draws just a checkbox to match the check state of our model object.
상속: BaseRenderer
파일 보기 프로젝트 열기: soywiz/cspspemu

공개 메소드들

메소드 설명
Render ( Graphics g, Rectangle r ) : void

Draw our cell

보호된 메소드들

메소드 설명
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

메소드 상세

HandleGetEditRectangle() 보호된 메소드

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
리턴 System.Drawing.Rectangle

HandleHitTest() 보호된 메소드

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
리턴 void

Render() 공개 메소드

Draw our cell
public Render ( Graphics g, Rectangle r ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
리턴 void