Show / Hide Table of Contents

Class URIAdaptor

Represents a URI adaptor.

Inheritance
System.Object
ImageListView.ImageListViewItemAdaptor
URIAdaptor
Implements
System.IDisposable
Namespace: Manina.Windows.Forms.ImageListViewItemAdaptors
Assembly: ImageListView.dll
Syntax
public class URIAdaptor : ImageListView.ImageListViewItemAdaptor, IDisposable

Constructors

| Improve this Doc View Source

URIAdaptor()

Initializes a new instance of the URIAdaptor class.

Declaration
public URIAdaptor()

Methods

| Improve this Doc View Source

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
public override void Dispose()
Overrides
ImageListView.ImageListViewItemAdaptor.Dispose()
| Improve this Doc View Source

GetDetails(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 2-tuples containing item details or null if an error occurs.

Overrides
ImageListView.ImageListViewItemAdaptor.GetDetails(Object)
| Improve this Doc View Source

GetSourceImage(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
ImageListView.ImageListViewItemAdaptor.GetSourceImage(Object)
| Improve this Doc View Source

GetThumbnail(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
ImageListView.ImageListViewItemAdaptor.GetThumbnail(Object, Size, UseEmbeddedThumbnails, Boolean)
| Improve this Doc View Source

GetUniqueIdentifier(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 thumbnail.

Overrides
ImageListView.ImageListViewItemAdaptor.GetUniqueIdentifier(Object, Size, UseEmbeddedThumbnails, Boolean)

Implements

System.IDisposable
Back to top Copyright © 2018 Özgür Özçıtak