SpreadsheetGear 2017
GotMouseCapture Event (DropDownButton)






SpreadsheetGear.Windows.Controls Namespace > DropDownButton Class : GotMouseCapture Event
Syntax
'Declaration
 
Public Event GotMouseCapture As System.Windows.Input.MouseEventHandler
'Usage
 
Dim instance As DropDownButton
Dim handler As System.Windows.Input.MouseEventHandler
 
AddHandler instance.GotMouseCapture, handler
public event System.Windows.Input.MouseEventHandler GotMouseCapture
public event GotMouseCapture: System.Windows.Input.MouseEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.Windows.Input.MouseEventHandler* GotMouseCapture
public:
event System.Windows.Input.MouseEventHandler^ GotMouseCapture
Event Data

The event handler receives an argument of type System.Windows.Input.MouseEventArgs containing data related to this event. The following MouseEventArgs properties provide information specific to this event.

PropertyDescription
(Inherited from System.Windows.Input.InputEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
Gets the current state of the left mouse button.  
Gets the current state of the middle mouse button.  
Gets the mouse device associated with this event.  
(Inherited from System.Windows.RoutedEventArgs)
Gets the current state of the right mouse button.  
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
Gets the stylus device associated with this event.  
(Inherited from System.Windows.Input.InputEventArgs)
Gets the current state of the first extended mouse button.  
Gets the state of the second extended mouse button.  
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