C# Класс ImageGlass.ImageListView.ImageListViewRenderers.ZoomingRenderer

Zooms items on mouse over.
Наследование: ImageListView.ImageListViewRenderer
Показать файл Открыть проект

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

Метод Описание
DrawCheckBox ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, Rectangle bounds ) : void

Draws the checkbox icon for the specified item on the given graphics.

DrawFileIcon ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, Rectangle bounds ) : void

Draws the file icon for the specified item on the given graphics.

DrawItem ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, ItemState state, Rectangle bounds ) : void

Draws the specified item on the given graphics.

InitializeGraphics ( System g ) : void

Initializes the System.Drawing.Graphics used to draw control elements.

MeasureItem ( ImageGlass view ) : Size

Returns item size for the given view mode.

ZoomingRenderer ( ) : System

Initializes a new instance of the ZoomingRenderer class.

ZoomingRenderer ( float zoomRatio ) : System

Initializes a new instance of the ZoomingRenderer class.

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

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

Draws the checkbox icon for the specified item on the given graphics.
public DrawCheckBox ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
item ImageGlass.ImageListView.ImageListViewItem The ImageListViewItem to draw.
bounds System.Drawing.Rectangle The bounding rectangle of the checkbox in client coordinates.
Результат void

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

Draws the file icon for the specified item on the given graphics.
public DrawFileIcon ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
item ImageGlass.ImageListView.ImageListViewItem The ImageListViewItem to draw.
bounds System.Drawing.Rectangle The bounding rectangle of the file icon in client coordinates.
Результат void

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

Draws the specified item on the given graphics.
public DrawItem ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, ItemState state, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
item ImageGlass.ImageListView.ImageListViewItem The ImageListViewItem to draw.
state ItemState The current view state of item.
bounds System.Drawing.Rectangle The bounding rectangle of item in client coordinates.
Результат void

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

Initializes the System.Drawing.Graphics used to draw control elements.
public InitializeGraphics ( System g ) : void
g System The System.Drawing.Graphics to draw on.
Результат void

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

Returns item size for the given view mode.
public MeasureItem ( ImageGlass view ) : Size
view ImageGlass The view mode for which the item measurement should be made.
Результат System.Drawing.Size

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

Initializes a new instance of the ZoomingRenderer class.
public ZoomingRenderer ( ) : System
Результат System

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

Initializes a new instance of the ZoomingRenderer class.
public ZoomingRenderer ( float zoomRatio ) : System
zoomRatio float Relative zoom ratio.
Результат System