Show / Hide Table of Contents

Class ImageListViewItem

Represents an item in the image list view.

Inheritance
System.Object
ImageListViewItem
Implements
System.ICloneable
Namespace: Manina.Windows.Forms
Assembly: ImageListView.dll
Syntax
[TypeConverter(typeof(ImageListViewItemTypeConverter))]
public class ImageListViewItem : ICloneable

Constructors

| Improve this Doc View Source

ImageListViewItem()

Initializes a new instance of the ImageListViewItem class.

Declaration
public ImageListViewItem()
| Improve this Doc View Source

ImageListViewItem(Object)

Initializes a new instance of a virtual ImageListViewItem class.

Declaration
public ImageListViewItem(object key)
Parameters
Type Name Description
System.Object key

The key identifying this item.

| Improve this Doc View Source

ImageListViewItem(Object, String)

Initializes a new instance of a virtual ImageListViewItem class.

Declaration
public ImageListViewItem(object key, string text)
Parameters
Type Name Description
System.Object key

The key identifying this item.

System.String text

Text of this item.

| Improve this Doc View Source

ImageListViewItem(String)

Initializes a new instance of the ImageListViewItem class.

Declaration
public ImageListViewItem(string filename)
Parameters
Type Name Description
System.String filename

The image filename representing the item.

| Improve this Doc View Source

ImageListViewItem(String, String)

Initializes a new instance of the ImageListViewItem class.

Declaration
public ImageListViewItem(string filename, string text)
Parameters
Type Name Description
System.String filename

The image filename representing the item.

System.String text

Item text

Properties

| Improve this Doc View Source

Adaptor

Gets the adaptor of this item.

Declaration
[Browsable(false)]
public ImageListView.ImageListViewItemAdaptor Adaptor { get; }
Property Value
Type Description
ImageListView.ImageListViewItemAdaptor
| Improve this Doc View Source

Artist

Gets the name of the artist.

Declaration
[Browsable(true)]
public string Artist { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Checked

Gets or sets a value determining if the item is checked.

Declaration
[Browsable(true)]
public bool Checked { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Copyright

Gets image copyright information.

Declaration
[Browsable(true)]
public string Copyright { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DateAccessed

Gets the last access date of the image file represented by this item.

Declaration
[Browsable(true)]
public DateTime DateAccessed { get; }
Property Value
Type Description
System.DateTime
| Improve this Doc View Source

DateCreated

Gets the creation date of the image file represented by this item.

Declaration
[Browsable(true)]
public DateTime DateCreated { get; }
Property Value
Type Description
System.DateTime
| Improve this Doc View Source

DateModified

Gets the modification date of the image file represented by this item.

Declaration
[Browsable(true)]
public DateTime DateModified { get; }
Property Value
Type Description
System.DateTime
| Improve this Doc View Source

DateTaken

Gets the date and time the image was taken.

Declaration
[Browsable(true)]
public DateTime DateTaken { get; }
Property Value
Type Description
System.DateTime
| Improve this Doc View Source

Dimensions

Gets image dimensions.

Declaration
[Browsable(true)]
public Size Dimensions { get; }
Property Value
Type Description
System.Drawing.Size
| Improve this Doc View Source

Enabled

Gets a value determining if the item is enabled.

Declaration
[Browsable(true)]
public bool Enabled { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

EquipmentModel

Gets the camera model.

Declaration
[Browsable(true)]
public string EquipmentModel { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ExposureTime

Gets the exposure time in seconds.

Declaration
[Browsable(true)]
public float ExposureTime { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

FileName

Gets or sets the name of the image file represented by this item.

Declaration
[Browsable(true)]
public string FileName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FilePath

Gets the path of the image file represented by this item.

Declaration
[Browsable(true)]
public string FilePath { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FileSize

Gets file size in bytes.

Declaration
[Browsable(true)]
public long FileSize { get; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

FileType

Gets the shell type of the image file represented by this item.

Declaration
[Browsable(true)]
public string FileType { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FNumber

Gets the F number.

Declaration
[Browsable(true)]
public float FNumber { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

FocalLength

Gets focal length of the lens in millimeters.

Declaration
[Browsable(true)]
public float FocalLength { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

Focused

Gets a value determining if the item is focused.

Declaration
[Browsable(false)]
public bool Focused { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

FolderName

Gets the name of the folder represented by this item.

Declaration
[Browsable(true)]
public string FolderName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ImageDescription

Gets image description.

Declaration
[Browsable(true)]
public string ImageDescription { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ImageListView

Gets the ImageListView owning this item.

Declaration
[Browsable(false)]
public ImageListView ImageListView { get; }
Property Value
Type Description
ImageListView
| Improve this Doc View Source

Index

Gets the index of the item.

Declaration
[Browsable(false)]
public int Index { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ISOSpeed

Gets the ISO speed.

Declaration
[Browsable(true)]
public ushort ISOSpeed { get; }
Property Value
Type Description
System.UInt16
| Improve this Doc View Source

LargeIcon

Gets the large shell icon of the image file represented by this item. If the icon image is not cached, it will be added to the cache queue and null will be returned.

Declaration
[Browsable(false)]
public Image LargeIcon { get; }
Property Value
Type Description
System.Drawing.Image
| Improve this Doc View Source

Rating

Gets rating in percent between 0-99 (Windows specific).

Declaration
[Browsable(true)]
public ushort Rating { get; }
Property Value
Type Description
System.UInt16
| Improve this Doc View Source

Resolution

Gets image resolution in pixels per inch.

Declaration
[Browsable(true)]
public SizeF Resolution { get; }
Property Value
Type Description
System.Drawing.SizeF
| Improve this Doc View Source

Selected

Gets or sets a value determining if the item is selected.

Declaration
[Browsable(false)]
public bool Selected { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

SmallIcon

Gets the small shell icon of the image file represented by this item. If the icon image is not cached, it will be added to the cache queue and null will be returned.

Declaration
[Browsable(false)]
public Image SmallIcon { get; }
Property Value
Type Description
System.Drawing.Image
| Improve this Doc View Source

Software

Gets the name of the application that created this file.

Declaration
[Browsable(true)]
public string Software { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

StarRating

Gets the star rating between 0-5 (Windows specific).

Declaration
[Browsable(true)]
public ushort StarRating { get; }
Property Value
Type Description
System.UInt16
| Improve this Doc View Source

SubItems

Gets the collection of sub items.

Declaration
[Browsable(true)]
public ImageListViewSubItemCollection SubItems { get; }
Property Value
Type Description
ImageListViewSubItemCollection
| Improve this Doc View Source

Tag

Gets or sets the user-defined data associated with the item.

Declaration
[Browsable(true)]
[TypeConverter(typeof(StringConverter))]
public object Tag { get; set; }
Property Value
Type Description
System.Object
| Improve this Doc View Source

Text

Gets or sets the text associated with this item. If left blank, item Text reverts to the name of the image file.

Declaration
[Browsable(true)]
public string Text { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ThumbnailCacheState

Gets the cache state of the item thumbnail.

Declaration
[Browsable(false)]
public CacheState ThumbnailCacheState { get; }
Property Value
Type Description
CacheState
| Improve this Doc View Source

ThumbnailImage

Gets the thumbnail image. If the thumbnail image is not cached, it will be added to the cache queue and null will be returned. The returned image needs to be disposed by the caller.

Declaration
[Browsable(false)]
public Image ThumbnailImage { get; }
Property Value
Type Description
System.Drawing.Image
| Improve this Doc View Source

UserComment

Gets user comments.

Declaration
[Browsable(true)]
public string UserComment { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

VirtualItemKey

Gets the virtual item key associated with this item. Returns null if the item is not a virtual item.

Declaration
[Browsable(false)]
public object VirtualItemKey { get; }
Property Value
Type Description
System.Object
| Improve this Doc View Source

ZOrder

Gets or sets the draw order of the item.

Declaration
[Browsable(true)]
public int ZOrder { get; set; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

BeginEdit()

Begins editing the item. This method must be used while editing the item to prevent collisions with the cache manager.

Declaration
public void BeginEdit()
| Improve this Doc View Source

Clone()

Creates a new object that is a copy of the current instance.

Declaration
public object Clone()
Returns
Type Description
System.Object

A new object that is a copy of this instance.

| Improve this Doc View Source

EndEdit()

Ends editing and updates the item.

Declaration
public void EndEdit()
| Improve this Doc View Source

EndEdit(Boolean)

Ends editing and updates the item.

Declaration
public void EndEdit(bool update)
Parameters
Type Name Description
System.Boolean update

If set to true, the item will be immediately updated.

| Improve this Doc View Source

GetCachedImage(CachedImageType)

Gets an image from the cache manager. If the thumbnail image is not cached, it will be added to the cache queue and DefaultImage of the owner image list view will be returned. If the thumbnail could not be cached ErrorImage of the owner image list view will be returned.

Declaration
public Image GetCachedImage(CachedImageType imageType)
Parameters
Type Name Description
CachedImageType imageType

Type of cached image to return.

Returns
Type Description
System.Drawing.Image

Requested thumbnail or icon.

| Improve this Doc View Source

GetSubItemText(ColumnType)

Returns the sub item item text corresponding to the specified column type.

Declaration
public string GetSubItemText(ColumnType type)
Parameters
Type Name Description
ColumnType type

The type of information to return.

Returns
Type Description
System.String

Formatted text for the given column type.

| Improve this Doc View Source

ToString()

Returns a System.String that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
System.String

A System.String that represents this instance.

Overrides
System.Object.ToString()
| Improve this Doc View Source

Update()

Updates item thumbnail and item details.

Declaration
public void Update()

Implements

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