Επεξεργασία

Κοινή χρήση μέσω


ToolTipEventArgs.HitTestResult Property

Definition

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

public:
 property System::Windows::Forms::DataVisualization::Charting::HitTestResult ^ HitTestResult { System::Windows::Forms::DataVisualization::Charting::HitTestResult ^ get(); };
public System.Windows.Forms.DataVisualization.Charting.HitTestResult HitTestResult { get; }
member this.HitTestResult : System.Windows.Forms.DataVisualization.Charting.HitTestResult
Public ReadOnly Property HitTestResult As HitTestResult

Property Value

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

Remarks

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.

Applies to