C# Класс BrightIdeasSoftware.FlagRenderer

A class to render a value that contains a bitwise-OR'ed collection of values.
Наследование: BaseRenderer
Показать файл Открыть проект

Открытые методы

Метод Описание
Add ( Object key, Object imageSelector ) : void

Register the given image to the given value

Render ( Graphics g, Rectangle r ) : void

Draw the flags

Защищенные методы

Метод Описание
HandleHitTest ( Graphics g, BrightIdeasSoftware.OlvListViewHitTestInfo hti, int x, int y ) : void

Do the actual work of hit testing. Subclasses should override this rather than HitTest()

Описание методов

Add() публичный Метод

Register the given image to the given value
public Add ( Object key, Object imageSelector ) : void
key Object When this flag is present...
imageSelector Object ...draw this image
Результат void

HandleHitTest() защищенный Метод

Do the actual work of hit testing. Subclasses should override this rather than HitTest()
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 the flags
public Render ( Graphics g, Rectangle r ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
Результат void