ListViewItem.ListView Property

Definition

Gets the ListView control that contains the item.

public:
 property System::Windows::Forms::ListView ^ ListView { System::Windows::Forms::ListView ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.ListView ListView { get; }
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.ListView? ListView { get; }
[<System.ComponentModel.Browsable(false)>]
member this.ListView : System.Windows.Forms.ListView
Public ReadOnly Property ListView As ListView

Property Value

A ListView that contains the ListViewItem.

Attributes

Remarks

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

Applies to

See also