Contains information about the chart element at given window coordinates.
The following example obtains a NHitTestResult object for the object lying on window coordinates 100, 100.
Dim hitTestResult As NHitTestResult = ChartControl.HitTest(100,100)
If hitTestResult.ChartElement = ChartElement.ControlBackground Then
MessageBox.Show("You clicked on the background")
End If
NHitTestResult hitTestResult = ChartControl.HitTest(100, 100);
if (hitTestResult.ChartElement == ChartElement.ControlBackground)
{
MessageBox.Show("You clicked on the background");
}
System.Object
Nevron.Chart.NHitTestResult
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2