Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ToolTipEventArgs::HitTestResult Property

.NET Framework (current version)
 

Gets a HitTestResult object, which provides information about the chart element that the GetToolTipText event was raised for.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public:
property HitTestResult^ HitTestResult {
	HitTestResult^ get();
}

Property Value

Type: System.Windows.Forms.DataVisualization.Charting::HitTestResult^

A HitTestResult object that represents information for the element the GetToolTipText event was raised for.

This property is exposed in the GetToolTipText event of the root Chart object.

The HitTestResult property can be used to get the object the event was raised for, the type of the chart element the event was raised for, and so forth. For further details, see the HitTestResult class overview.

.NET Framework
Available since 4.0
Return to top
Show:
© 2017 Microsoft