The MouseMoveEventArgs object is the event arguments object for the MouseMoveEventHandler. For more information, see MouseMoveEventHandler
public MouseMoveEventArgs(
short button,
short shift,
float x,
float y
)
Public Function New( _
ByVal button As Short, _
ByVal shift As Short, _
ByVal x As Single, _
ByVal y As Single _
)
button
Value that identifies any buttons that were pressed when the user moved the mouse. The following are possible values: Value Meaning 1 left button 2 right button
shift
Value that indicates which of the SHIFT, CTRL, and ALT keys are down when the user moved the mouse.
The following are possible values:
Value | Meaning |
---|---|
1 | SHIFT key |
2 | CTRL key |
4 | ALT key |
3 | CTRL/SHIFT key |
5 | ALT/SHIFT key |
6 | CTRL/ALT key |
7 | CTRL/ALT/SHIFT key |
x
The X coordinate of the mouse pointer relative to the origin of the client area of the control. The unit of measure is determined by ScaleMode property.
y
The Y coordinate of the mouse pointer relative to the origin of the client area of the control. The unit of measure is determined by ScaleMode property.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document