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

Mimics Windows XP appearance. This renderer cannot be themed.
Наследование: ImageListView.ImageListViewRenderer
Показать файл Открыть проект

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

Метод Описание
DrawBackground ( Graphics g, Rectangle bounds ) : void

Draws the background of the control.

DrawColumnExtender ( Graphics g, Rectangle bounds ) : void

Draws the extender after the last column.

DrawColumnHeader ( Graphics g, ImageListView column, ColumnState state, Rectangle bounds ) : void

Draws the column headers.

DrawGalleryImage ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, Image image, Rectangle bounds ) : void

Draws the large preview image of the focused item in Gallery mode.

DrawGroupHeader ( Graphics g, string name, Rectangle bounds ) : void

Draws the group headers.

DrawInsertionCaret ( Graphics g, Rectangle bounds ) : void

Draws the insertion caret for drag and drop operations.

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

Draws the specified item on the given graphics.

DrawPane ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, Image image, Rectangle bounds ) : void

Draws the left pane in Pane view mode.

DrawSelectionRectangle ( Graphics g, Rectangle selection ) : void

Draws the selection rectangle.

MeasureItem ( ImageGlass view ) : Size

Returns item size for the given view mode.

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

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

Draws the background of the control.
public DrawBackground ( Graphics g, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
bounds System.Drawing.Rectangle The client coordinates of the item area.
Результат void

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

Draws the extender after the last column.
public DrawColumnExtender ( Graphics g, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
bounds System.Drawing.Rectangle The bounding rectangle of extender column in client coordinates.
Результат void

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

Draws the column headers.
public DrawColumnHeader ( Graphics g, ImageListView column, ColumnState state, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
column ImageListView The ImageListViewColumnHeader to draw.
state ColumnState The current view state of column.
bounds System.Drawing.Rectangle The bounding rectangle of column in client coordinates.
Результат void

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

Draws the large preview image of the focused item in Gallery mode.
public DrawGalleryImage ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, Image image, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
item ImageGlass.ImageListView.ImageListViewItem The ImageListViewItem to draw.
image Image The image to draw.
bounds System.Drawing.Rectangle The bounding rectangle of the preview area.
Результат void

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

Draws the group headers.
public DrawGroupHeader ( Graphics g, string name, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
name string The name of the group to draw.
bounds System.Drawing.Rectangle The bounding rectangle of group in client coordinates.
Результат void

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

Draws the insertion caret for drag and drop operations.
public DrawInsertionCaret ( Graphics g, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
bounds System.Drawing.Rectangle The bounding rectangle of the insertion caret.
Результат void

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

Draws the specified item on the given graphics.
public DrawItem ( System g, ImageGlass.ImageListView.ImageListViewItem item, ItemState state, System bounds ) : void
g System 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 The bounding rectangle of item in client coordinates.
Результат void

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

Draws the left pane in Pane view mode.
public DrawPane ( Graphics g, ImageGlass.ImageListView.ImageListViewItem item, Image image, Rectangle bounds ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
item ImageGlass.ImageListView.ImageListViewItem The ImageListViewItem to draw.
image Image The image to draw.
bounds System.Drawing.Rectangle The bounding rectangle of the pane.
Результат void

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

Draws the selection rectangle.
public DrawSelectionRectangle ( Graphics g, Rectangle selection ) : void
g System.Drawing.Graphics The System.Drawing.Graphics to draw on.
selection System.Drawing.Rectangle The client coordinates of the selection rectangle.
Результат 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