
'Declaration Public Class HitTestResult
'Usage Dim instance As HitTestResult
public class HitTestResult
Dim hitTestResult As HitTestResult = ChartControl.HitTest(100,100) If hitTestResult.ChartElement = ChartElement.ControlBackground Then MessageBox.Show("You clicked on the background") End If
HitTestResult hitTestResult = ChartControl.HitTest(100, 100); if (hitTestResult.ChartElement == ChartElement.ControlBackground) { MessageBox.Show("You clicked on the background"); }
System.Object
Xceed.Chart.Core.HitTestResult
Name | Description | |
---|---|---|
![]() | m_ChartControlBase | This member is reserved for internal use and is not intended to be used directly from your code. |
![]() | m_ObjectDescription | This member is reserved for internal use and is not intended to be used directly from your code. |
Name | Description | |
---|---|---|
![]() | Axis | Returns a reference to a Axis object. |
![]() | AxisIndex | Returns the index of the Axis object in the Chart axes collection. |
![]() | AxisStripe | Returns a reference to a AxisStripe object. |
![]() | AxisStripeIndex | Returns the index of the AxisStripe object in the Axis stripes collection. |
![]() | Background | Returns a reference to a Background object. |
![]() | Chart | Returns a reference to the Chart object containing the located object. |
![]() | ChartElement | The chart element type at the given window coordinates. |
![]() | ChartIndex | Returns the index of the Chart object containing the located object. |
![]() | ChartWall | Returns a reference to a ChartWall object. |
![]() | ChartWallIndex | Returns the index of the ChartWall object in the Chart walls collection. |
![]() | DataPointIndex | Returns the index of the data point in the Series values collection. |
![]() | Label | Returns a reference to a ChartLabel object. |
![]() | LabelIndex | Returns the index of the ChartLabel object in the control labels collection. |
![]() | Legend | Returns a reference to a Legend object. |
![]() | LegendDataItem | Returns a reference to a LegendDataItem object. |
![]() | LegendDataItemIndex | Returns the index of the LegendDataItem object in the Legend data collection. |
![]() | LegendIndex | Returns the index of the Legend object in the control legends collection. |
![]() | Object | Returns a reference to a chart object at the given window coordinates. |
![]() | Series | Returns a reference to the SeriesBase object containing the located data item. |
![]() | SeriesIndex | Returns the index of the SeriesBase object in the Chart series collection. |
![]() | SurfaceDataPointX | Returns the index of the data point in the SurfaceSeriesBase values collection. |
![]() | SurfaceDataPointZ | Returns the index of the data point in the SurfaceSeries values collection. |
![]() | Watermark | Returns a reference to a Watermark object. |
![]() | WatermarkIndex | Returns the index of the Watermark object in the control watermarks collection. |
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