Class ZoomingRenderer
Zooms items on mouse over.
Implements
Inherited Members
Namespace: Manina.Windows.Forms.ImageListViewRenderers
Assembly: ImageListView.dll
Syntax
public class ZoomingRenderer : ImageListView.ImageListViewRenderer, IDisposable
Constructors
| Improve this Doc View SourceZoomingRenderer()
Initializes a new instance of the ZoomingRenderer class.
Declaration
public ZoomingRenderer()
ZoomingRenderer(Single)
Initializes a new instance of the ZoomingRenderer class.
Declaration
public ZoomingRenderer(float zoomRatio)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | zoomRatio | Relative zoom ratio. |
Properties
| Improve this Doc View SourceZoomRatio
Gets or sets the relative zoom ratio.
Declaration
public float ZoomRatio { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Methods
| Improve this Doc View SourceDrawCheckBox(Graphics, ImageListViewItem, Rectangle)
Draws the checkbox icon for the specified item on the given graphics.
Declaration
public override void DrawCheckBox(Graphics g, ImageListViewItem item, Rectangle bounds)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Graphics | g | The System.Drawing.Graphics to draw on. |
| ImageListViewItem | item | The ImageListViewItem to draw. |
| System.Drawing.Rectangle | bounds | The bounding rectangle of the checkbox in client coordinates. |
Overrides
| Improve this Doc View SourceDrawFileIcon(Graphics, ImageListViewItem, Rectangle)
Draws the file icon for the specified item on the given graphics.
Declaration
public override void DrawFileIcon(Graphics g, ImageListViewItem item, Rectangle bounds)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Graphics | g | The System.Drawing.Graphics to draw on. |
| ImageListViewItem | item | The ImageListViewItem to draw. |
| System.Drawing.Rectangle | bounds | The bounding rectangle of the file icon in client coordinates. |
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 SourceInitializeGraphics(Graphics)
Initializes the System.Drawing.Graphics used to draw control elements.
Declaration
public override void InitializeGraphics(Graphics g)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Graphics | g | The System.Drawing.Graphics to draw on. |
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. |