C# Класс BrightIdeasSoftware.AbstractRenderer

Наследование: System.ComponentModel.Component, IRenderer
Показать файл Открыть проект

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

Метод Описание
GetEditRectangle ( Graphics g, Rectangle cellBounds, BrightIdeasSoftware.OLVListItem item, int subItemIndex, Size preferredSize ) : Rectangle

When the value in the given cell is to be edited, where should the edit rectangle be placed?

HitTest ( BrightIdeasSoftware.OlvListViewHitTestInfo hti, int x, int y ) : void

What is under the given point?

This method should only alter HitTestLocation and/or UserData.

RenderItem ( DrawListViewItemEventArgs e, Graphics g, Rectangle itemBounds, object rowObject ) : bool

Render the whole item within an ObjectListView. This is only used in non-Details views.

RenderSubItem ( DrawListViewSubItemEventArgs e, Graphics g, Rectangle cellBounds, object rowObject ) : bool

Render one cell within an ObjectListView when it is in Details mode.

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

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

When the value in the given cell is to be edited, where should the edit rectangle be placed?
public GetEditRectangle ( 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

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

What is under the given point?
This method should only alter HitTestLocation and/or UserData.
public HitTest ( BrightIdeasSoftware.OlvListViewHitTestInfo hti, int x, int y ) : void
hti BrightIdeasSoftware.OlvListViewHitTestInfo
x int x co-ordinate
y int y co-ordinate
Результат void

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

Render the whole item within an ObjectListView. This is only used in non-Details views.
public RenderItem ( DrawListViewItemEventArgs e, Graphics g, Rectangle itemBounds, object rowObject ) : bool
e System.Windows.Forms.DrawListViewItemEventArgs The event
g System.Drawing.Graphics A Graphics for rendering
itemBounds System.Drawing.Rectangle The bounds of the item
rowObject object The model object to be drawn
Результат bool

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

Render one cell within an ObjectListView when it is in Details mode.
public RenderSubItem ( DrawListViewSubItemEventArgs e, Graphics g, Rectangle cellBounds, object rowObject ) : bool
e System.Windows.Forms.DrawListViewSubItemEventArgs The event
g System.Drawing.Graphics A Graphics for rendering
cellBounds System.Drawing.Rectangle The bounds of the cell
rowObject object The model object to be drawn
Результат bool