ToolTipEventArgs::Y Property

.NET Framework (current version)
 

Gets the Y coordinate of the point the mouse cursor is held over when the GetToolTipText event is raised.

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

public:
property int Y {
	int get();
}

Property Value

Type: System::Int32

An integer that represents the Y coordinate of the mouse cursor.

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

Use the Y property to get the Y screen coordinate of the point the mouse cursor is held over when the GetToolTipText event is raised.

Note that the Y coordinate is measured in pixels; the point (0,0) corresponds to the top-left corner of the chart.

.NET Framework
Available since 4.0
Return to top
Show: