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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา