DataGridView::HitTestInfo::Type Property
.NET Framework (current version)
Gets the DataGridViewHitTestType that indicates which part of the DataGridView the coordinates described by the current DataGridView::HitTestInfo belong to.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System.Windows.Forms::DataGridViewHitTestTypeA DataGridViewHitTestType value that indicates the control part at the coordinates described by the current DataGridView::HitTestInfo.
The following code example illustrates the use of this property. This example is part of a larger example available in the DataGridView::Columns property reference topic.
.NET Framework
Available since 2.0
Available since 2.0
Show: