The UserActionMouseDown Event is available as an add-on to the LEADTOOLS Medical Imaging toolkits.
Optional delegate method for additional processing.Visual Basic (Declaration) | |
---|---|
Public Event UserActionMouseDown As EventHandler(Of MedicalViewerMouseEventArgs) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As MedicalViewerCell Dim handler As EventHandler(Of MedicalViewerMouseEventArgs) AddHandler instance.UserActionMouseDown, handler |
C# | |
---|---|
public event EventHandler<MedicalViewerMouseEventArgs> UserActionMouseDown |
C++/CLI | |
---|---|
public: event EventHandler<MedicalViewerMouseEventArgs^>^ UserActionMouseDown |
The event handler receives an argument of type MedicalViewerMouseEventArgs containing data related to this event. The following MedicalViewerMouseEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ActionID | Gets or sets the ID of the action that raised the event. |
Button (Inherited from System.Windows.Forms.MouseEventArgs) | Gets which mouse button was pressed. |
Clicks (Inherited from System.Windows.Forms.MouseEventArgs) | Gets the number of times the mouse button was pressed and released. |
Delta (Inherited from System.Windows.Forms.MouseEventArgs) | Gets a signed count of the number of detents the mouse wheel has rotated. A detent is one notch of the mouse wheel. |
Images | Gets or sets the array of Leadtools.RasterImage objects that contain the images to be updated. |
Location (Inherited from System.Windows.Forms.MouseEventArgs) | Gets the location of the mouse during the generating mouse event. |
X (Inherited from System.Windows.Forms.MouseEventArgs) | Gets the x-coordinate of the mouse during the generating mouse event. |
Y (Inherited from System.Windows.Forms.MouseEventArgs) | Gets the y-coordinate of the mouse during the generating mouse event. |
For an example, refer to MedicalViewerCell.CustomPaint
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7