Export (0) Print
Expand All

ParentControlDesigner.OnMouseDragMove Method

Called for each movement of the mouse during a drag-and-drop operation.

Namespace:  System.Windows.Forms.Design
Assembly:  System.Design (in System.Design.dll)

protected override void OnMouseDragMove(
	int x,
	int y
)

Parameters

x
Type: System.Int32

The x-coordinate of the mouse in screen coordinates.

y
Type: System.Int32

The y-coordinate of the mouse in screen coordinates.

This method is called at the start of a drag-and-drop operation.

NoteNote

You can pass a point in screen coordinates to the PointToClient method of the Control class to obtain the coordinates of the point relative to the upper-left corner of the control.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft