Class TilesRenderer
Displays items with large tiles.
Implements
System.IDisposable
Inherited Members
Namespace: Manina.Windows.Forms.ImageListViewRenderers
Assembly: ImageListView.dll
Syntax
public class TilesRenderer : ImageListView.ImageListViewRenderer, IDisposable
Constructors
| Improve this Doc View SourceTilesRenderer()
Initializes a new instance of the TilesRenderer class.
Declaration
public TilesRenderer()
TilesRenderer(Int32)
Initializes a new instance of the TilesRenderer class.
Declaration
public TilesRenderer(int tileWidth)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | tileWidth | Width of tiles in pixels. |
Properties
| Improve this Doc View SourceTileWidth
Gets or sets the width of the tile.
Declaration
public int TileWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceDispose()
Releases managed resources.
Declaration
public override void Dispose()
Overrides
| Improve this Doc View SourceDrawItem(Graphics, ImageListViewItem, ItemState, Rectangle)
Draws the specified item on the given graphics.
Declaration
public override void DrawItem(Graphics g, ImageListViewItem item, ItemState state, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The System.Drawing.Graphics to draw on. |
ImageListViewItem | item | The ImageListViewItem to draw. |
ItemState | state | The current view state of item. |
System.Drawing.Rectangle | bounds | The bounding rectangle of item in client coordinates. |
Overrides
| Improve this Doc View SourceMeasureItem(View)
Returns item size for the given view mode.
Declaration
public override Size MeasureItem(View view)
Parameters
Type | Name | Description |
---|---|---|
View | view | The view mode for which the item measurement should be made. |
Returns
Type | Description |
---|---|
System.Drawing.Size | The item size. |
Overrides
Implements
System.IDisposable