SpreadsheetGear.Windows.Controls Namespace > VerticalScrollbarsPresenter Class : LostMouseCapture Event |
'Declaration
Public Event LostMouseCapture As System.Windows.Input.MouseEventHandler
'Usage
Dim instance As VerticalScrollbarsPresenter Dim handler As System.Windows.Input.MouseEventHandler AddHandler instance.LostMouseCapture, handler
public event System.Windows.Input.MouseEventHandler LostMouseCapture
public event LostMouseCapture: 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* LostMouseCapture
public: event System.Windows.Input.MouseEventHandler^ LostMouseCapture
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.
Property | Description |
---|---|
Device | (Inherited from System.Windows.Input.InputEventArgs) |
Handled | (Inherited from System.Windows.RoutedEventArgs) |
LeftButton | Gets the current state of the left mouse button. |
MiddleButton | Gets the current state of the middle mouse button. |
MouseDevice | Gets the mouse device associated with this event. |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RightButton | Gets the current state of the right mouse button. |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (Inherited from System.Windows.RoutedEventArgs) |
StylusDevice | Gets the stylus device associated with this event. |
Timestamp | (Inherited from System.Windows.Input.InputEventArgs) |
XButton1 | Gets the current state of the first extended mouse button. |
XButton2 | Gets the state of the second extended mouse button. |
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