Class ImageListView.ImageListViewItemAdaptor
Represents the abstract case class for adaptors.
Implements
Namespace: Manina.Windows.Forms
Assembly: ImageListView.dll
Syntax
public abstract class ImageListViewItemAdaptor : IDisposable
Methods
| Improve this Doc View SourceDispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public abstract void Dispose()
GetDetails(Object)
Returns the details for the given item.
Declaration
public abstract Utility.Tuple<ColumnType, string, object>[] GetDetails(object key)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Item key. |
Returns
Type | Description |
---|---|
Utility.Tuple<ColumnType, System.String, System.Object>[] | An array of tuples containing item details or null if an error occurs. |
GetSourceImage(Object)
Returns the path to the source image for use in drag operations.
Declaration
public abstract string GetSourceImage(object key)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Item key. |
Returns
Type | Description |
---|---|
System.String | The path to the source image. |
GetThumbnail(Object, Size, UseEmbeddedThumbnails, Boolean)
Returns the thumbnail image for the given item.
Declaration
public abstract Image GetThumbnail(object key, Size size, UseEmbeddedThumbnails useEmbeddedThumbnails, bool useExifOrientation)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Item key. |
System.Drawing.Size | size | Requested image size. |
UseEmbeddedThumbnails | useEmbeddedThumbnails | Embedded thumbnail usage. |
System.Boolean | useExifOrientation | true to automatically rotate images based on Exif orientation; otherwise false. |
Returns
Type | Description |
---|---|
System.Drawing.Image | The thumbnail image from the given item or null if an error occurs. |
GetUniqueIdentifier(Object, Size, UseEmbeddedThumbnails, Boolean)
Returns a unique identifier for this thumbnail to be used in persistent caching.
Declaration
public abstract string GetUniqueIdentifier(object key, Size size, UseEmbeddedThumbnails useEmbeddedThumbnails, bool useExifOrientation)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Item key. |
System.Drawing.Size | size | Requested image size. |
UseEmbeddedThumbnails | useEmbeddedThumbnails | Embedded thumbnail usage. |
System.Boolean | useExifOrientation | true to automatically rotate images based on Exif orientation; otherwise false. |
Returns
Type | Description |
---|---|
System.String | A unique identifier string for the thumnail. |