System.Windows.Forms.ListViewItem.ImageList Property

Gets the System.Windows.Forms.ImageList that contains the image displayed with the item.

Syntax

[System.ComponentModel.Browsable(false)]
public ImageList ImageList { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Depending on the current value of the ListView.View property of the System.Windows.Forms.ListView control associated with the item, the System.Windows.Forms.ImageList used by the item could be one specified in the ListView.LargeImageList property or the ListView.SmallImageList property of the System.Windows.Forms.ListView control. If the ListView.View property is set to View.LargeIcon, the System.Windows.Forms.ImageList specified in the ListView.LargeImageList property is used; otherwise, the System.Windows.Forms.ImageList specified in the ListView.SmallImageList property is used. You can use this property to determine which System.Windows.Forms.ImageList control is providing the image for the item. To determine the index position in the System.Windows.Forms.ImageList that contains the image to display for the item, use the ListViewItem.ImageIndex property.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0