Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.03.25
OnMouseDown(Object,MouseButtonEventArgs) Method
See Also 
Leadtools.Windows.Controls Namespace > BitmapSourceViewer Class > OnMouseDown Method : OnMouseDown(Object,MouseButtonEventArgs) Method




sender
An Object which invokes this handler.
e
A MouseEventArgs that contains the event data.
Occurs when the user presses a mouse button.

Syntax

Visual Basic (Declaration) 
Overloads Protected Overridable Sub OnMouseDown( _
   ByVal sender As Object, _
   ByVal e As MouseButtonEventArgs _
) 
Visual Basic (Usage)Copy Code
Dim instance As BitmapSourceViewer
Dim sender As Object
Dim e As MouseButtonEventArgs
 
instance.OnMouseDown(sender, e)
C# 
protected virtual void OnMouseDown( 
   object sender,
   MouseButtonEventArgs e
)
Managed Extensions for C++ 
protected: virtual void OnMouseDown( 
   Object* sender,
   MouseButtonEventArgs e
) 
C++/CLI 
protected:
virtual void OnMouseDown( 
   Object^ sender,
   MouseButtonEventArgs e
) 

Parameters

sender
An Object which invokes this handler.
e
A MouseEventArgs that contains the event data.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also