C# Class ImageGlass.ImageListView.ImageListViewRenderers.TilesRenderer

Displays items with large tiles.
Inheritance: ImageListView.ImageListViewRenderer
Afficher le fichier Open project: d2phap/ImageGlass

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Dispose ( ) : void

Releases managed resources.

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

Draws the specified item on the given graphics.

MeasureItem ( ImageGlass view ) : Size

Returns item size for the given view mode.

TilesRenderer ( ) : System

Initializes a new instance of the TilesRenderer class.

TilesRenderer ( int tileWidth ) : System

Initializes a new instance of the TilesRenderer class.

Method Details

Dispose() public méthode

Releases managed resources.
public Dispose ( ) : void
Résultat void

DrawItem() public méthode

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.
Résultat void

MeasureItem() public méthode

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.
Résultat System.Drawing.Size

TilesRenderer() public méthode

Initializes a new instance of the TilesRenderer class.
public TilesRenderer ( ) : System
Résultat System

TilesRenderer() public méthode

Initializes a new instance of the TilesRenderer class.
public TilesRenderer ( int tileWidth ) : System
tileWidth int Width of tiles in pixels.
Résultat System