ListViewHitTestInfo Constructor

ListViewHitTestInfo Constructor (ListViewItem, ListViewItem.ListViewSubItem, ListViewHitTestLocations)

 

Initializes a new instance of the ListViewHitTestInfo class.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public ListViewHitTestInfo(
	ListViewItem hitItem,
	ListViewItem.ListViewSubItem hitSubItem,
	ListViewHitTestLocations hitLocation
)

Parameters

hitItem
Type: System.Windows.Forms.ListViewItem

The ListViewItem located at the position indicated by the hit test.

hitSubItem
Type: System.Windows.Forms.ListViewItem.ListViewSubItem

The ListViewItem.ListViewSubItem located at the position indicated by the hit test.

hitLocation
Type: System.Windows.Forms.ListViewHitTestLocations

One of the ListViewHitTestLocations values.

The hitItem and hitSubItem parameters can be null.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft