Class FileSystemAdaptor
Represents a file system adaptor.
Implements
Namespace: Manina.Windows.Forms.ImageListViewItemAdaptors
Assembly: ImageListView.dll
Syntax
public class FileSystemAdaptor : ImageListView.ImageListViewItemAdaptor, IDisposable
Constructors
| Improve this Doc View SourceFileSystemAdaptor()
Initializes a new instance of the FileSystemAdaptor class.
Declaration
public FileSystemAdaptor()
Methods
| Improve this Doc View SourceDispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public override void Dispose()
Overrides
| Improve this Doc View SourceGetDetails(Object)
Returns the details for the given item.
Declaration
public override 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. |
Overrides
| Improve this Doc View SourceGetSourceImage(Object)
Returns the path to the source image for use in drag operations.
Declaration
public override string GetSourceImage(object key)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Item key. |
Returns
Type | Description |
---|---|
System.String | The path to the source image. |
Overrides
| Improve this Doc View SourceGetThumbnail(Object, Size, UseEmbeddedThumbnails, Boolean)
Returns the thumbnail image for the given item.
Declaration
public override 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. |
Overrides
| Improve this Doc View SourceGetUniqueIdentifier(Object, Size, UseEmbeddedThumbnails, Boolean)
Returns a unique identifier for this thumbnail to be used in persistent caching.
Declaration
public override 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. |