Redigera

Dela via


ToolTipEventArgs(Int32, Int32, String, HitTestResult) Constructor

Definition

Initializes a new instance of the ToolTipEventArgs class with the specified x, y, text and result parameters.

public:
 ToolTipEventArgs(int x, int y, System::String ^ text, System::Windows::Forms::DataVisualization::Charting::HitTestResult ^ result);
public ToolTipEventArgs (int x, int y, string text, System.Windows.Forms.DataVisualization.Charting.HitTestResult result);
new System.Windows.Forms.DataVisualization.Charting.ToolTipEventArgs : int * int * string * System.Windows.Forms.DataVisualization.Charting.HitTestResult -> System.Windows.Forms.DataVisualization.Charting.ToolTipEventArgs
Public Sub New (x As Integer, y As Integer, text As String, result As HitTestResult)

Parameters

x
Int32

X-coordinate of mouse.

y
Int32

Y-coordinate of mouse.

text
String

The tooltip text.

result
HitTestResult

The HitTestResult object.

Applies to