ToolTipEventArgs Constructor (Int32, Int32, String^, HitTestResult^)

.NET Framework (current version)
 

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

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

public:
ToolTipEventArgs(
	int x,
	int y,
	String^ text,
	HitTestResult^ result
)

Parameters

x
Type: System::Int32

X-coordinate of mouse.

y
Type: System::Int32

Y-coordinate of mouse.

text
Type: System::String^

The tooltip text.

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

The HitTestResult object.

.NET Framework
Available since 4.0
Return to top
Show: