Επεξεργασία

Κοινή χρήση μέσω


ListViewHitTestInfo.Item Property

Definition

Gets the ListViewItem at the position indicated by a hit test on a ListView.

public:
 property System::Windows::Forms::ListViewItem ^ Item { System::Windows::Forms::ListViewItem ^ get(); };
public System.Windows.Forms.ListViewItem Item { get; }
public System.Windows.Forms.ListViewItem? Item { get; }
member this.Item : System.Windows.Forms.ListViewItem
Public ReadOnly Property Item As ListViewItem

Property Value

The ListViewItem at the position indicated by a hit test on a ListView.

Remarks

This value will be null if the ListView does not contain items or the position indicated is not on an item.

Applies to