ListViewHitTestInfo Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ListViewHitTestInfo class.
public:
ListViewHitTestInfo(System::Windows::Forms::ListViewItem ^ hitItem, System::Windows::Forms::ListViewItem::ListViewSubItem ^ hitSubItem, System::Windows::Forms::ListViewHitTestLocations hitLocation);
public ListViewHitTestInfo (System.Windows.Forms.ListViewItem hitItem, System.Windows.Forms.ListViewItem.ListViewSubItem hitSubItem, System.Windows.Forms.ListViewHitTestLocations hitLocation);
public ListViewHitTestInfo (System.Windows.Forms.ListViewItem? hitItem, System.Windows.Forms.ListViewItem.ListViewSubItem? hitSubItem, System.Windows.Forms.ListViewHitTestLocations hitLocation);
new System.Windows.Forms.ListViewHitTestInfo : System.Windows.Forms.ListViewItem * System.Windows.Forms.ListViewItem.ListViewSubItem * System.Windows.Forms.ListViewHitTestLocations -> System.Windows.Forms.ListViewHitTestInfo
Public Sub New (hitItem As ListViewItem, hitSubItem As ListViewItem.ListViewSubItem, hitLocation As ListViewHitTestLocations)
Parameters
- hitItem
- ListViewItem
The ListViewItem located at the position indicated by the hit test.
- hitSubItem
- ListViewItem.ListViewSubItem
The ListViewItem.ListViewSubItem located at the position indicated by the hit test.
- hitLocation
- ListViewHitTestLocations
One of the ListViewHitTestLocations values.
Remarks
The hitItem
and hitSubItem
parameters can be null
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.