다음을 통해 공유


ListViewItem.ImageList 속성

항목과 함께 표시되는 이미지가 들어 있는 ImageList를 가져옵니다.

네임스페이스: System.Windows.Forms
어셈블리: System.Windows.Forms(system.windows.forms.dll)

구문

‘선언
Public ReadOnly Property ImageList As ImageList
‘사용 방법
Dim instance As ListViewItem
Dim value As ImageList

value = instance.ImageList
public ImageList ImageList { get; }
public:
property ImageList^ ImageList {
    ImageList^ get ();
}
/** @property */
public ImageList get_ImageList ()
public function get ImageList () : ImageList

속성 값

항목과 함께 표시되는 이미지가 들어 있는 ListView 컨트롤이 사용하는 ImageList입니다.

설명

항목에 연결된 ListView 컨트롤의 현재 View 속성 값에 따라 항목이 사용하는 ImageListLargeImageList 속성에 지정되었거나 ListView 컨트롤의 SmallImageList 속성에 지정된 목록일 수 있습니다. View 속성이 LargeIcon으로 설정되어 있으면 LargeImageList 속성에 지정된 ImageList가 사용됩니다. 그렇지 않으면 SmallImageList 속성에 지정된 ImageList가 사용됩니다. 이 속성을 사용하면 항목에 대한 이미지를 제공하는 컨트롤을 ImageList 확인할 수 있습니다. 항목에 대해 표시할 이미지가 포함된 ImageList에서 인덱스 위치를 확인하려면 ImageIndex 속성을 사용합니다.

플랫폼

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

2.0, 1.1, 1.0에서 지원

참고 항목

참조

ListViewItem 클래스
ListViewItem 멤버
System.Windows.Forms 네임스페이스
ListViewItem.ImageIndex 속성