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

Displays the control in the current system theme. This renderer cannot be themed.
Наследование: ImageListView.ImageListViewRenderer
Показать файл Открыть проект

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

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

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

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.

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

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

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

Draws the group headers.

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

Draws the specified item on the given graphics.

MeasureItem ( View view ) : Size

Returns item size for the given view mode.

ThemeRenderer ( ) : System

Initializes a new instance of the ThemeRenderer class.

Приватные методы

Метод Описание
GetRenderer ( System.Windows.Forms.VisualStyles.VisualStyleElement e ) : System.Windows.Forms.VisualStyles.VisualStyleRenderer

Returns a renderer for the given element.

GetRenderer ( string className, int part, int state ) : System.Windows.Forms.VisualStyles.VisualStyleRenderer

Returns a renderer for the given element.

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

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

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

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

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

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

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

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

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

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