LEADTOOLS Multimedia (Leadtools.Multimedia assembly)
LEAD Technologies, Inc

MouseUpEventArgs Constructor (MouseUpEventArgs)






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.
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.
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.
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.
The MouseUpEventArgs object is the event arguments object for the MouseUpEventHandler. For more information, see MouseUpEventHandler
Syntax
public MouseUpEventArgs( 
   short button,
   short shift,
   float x,
   float y
)
'Declaration
 
Public Function New( _
   ByVal button As Short, _
   ByVal shift As Short, _
   ByVal x As Single, _
   ByVal y As Single _
)
'Usage
 
Dim button As Short
Dim shift As Short
Dim x As Single
Dim y As Single
 
Dim instance As New MouseUpEventArgs(button, shift, x, y)
public MouseUpEventArgs( 
   short button,
   short shift,
   float x,
   float y
)
function MouseUpEventArgs( 
   button ,
   shift ,
   x ,
   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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MouseUpEventArgs Class
MouseUpEventArgs Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Multimedia requires a Multimedia or Multimedia Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features