MouseUpEventArgs Constructor

Summary
The MouseUpEventArgs object is the event arguments object for the MouseUpEventHandler. For more information, see MouseUpEventHandler
Syntax
C#
C++/CLI
public MouseUpEventArgs( 
   short button, 
   short shift, 
   float x, 
   float y 
) 
public: 
MouseUpEventArgs(  
   short button, 
   short shift, 
   float x, 
   float y 
) 

Parameters

button
Value that identifies the button that was released to cause the event. 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 button specified in the button argument is released.

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.

Requirements

Target Platforms

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

Leadtools.Multimedia Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.