This documentation is archived and is not being maintained.

ListViewItem.ListView Property

Gets the ListView control that contains the item.

[Visual Basic]
Public ReadOnly Property ListView As ListView
public ListView ListView {get;}
public: __property ListView* get_ListView();
public function get ListView() : ListView;

Property Value

A ListView that contains the ListViewItem.


You can use this property to access the ListView control that owns the ListViewItem.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

ListViewItem Class | ListViewItem Members | System.Windows.Forms Namespace | ListView