MouseHoverEventArgs Constructor

Summary

The MouseHoverEventArgs object is the event arguments object for the MouseHoverEventHandler. For more information, see MouseHoverEventHandler

Syntax
C#
VB
C++
public MouseHoverEventArgs( 
   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 _ 
) 
public: 
MouseHoverEventArgs(  
   short button, 
   short shift, 
   float x, 
   float y 
) 

Parameters

button
Value that identifies any buttons that were pressed when the user hovered 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 hovered 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's 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's area of the control. The unit of measure is determined by ScaleMode property.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly