System.Windows.Forms.MouseEventArgs.Y Property

Gets the y-coordinate of the mouse during the generating mouse event.

Syntax

public int Y { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The mouse coordinates vary based on the event being raised. For example, when the Control.MouseMove event is handled, the mouse coordinate values are relative to the coordinates of the control that raised the event. Some events related to drag-and-drop operations have associated mouse coordinate values that are relative to the form origin or the screen origin.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0