LEADTOOLS Medical (Leadtools.MedicalViewer assembly)
LEAD Technologies, Inc

UserActionKeyDown Event






Optional delegate method for additional processing.
Syntax
public event EventHandler<MedicalViewerKeyEventArgs> UserActionKeyDown
'Declaration
 
Public Event UserActionKeyDown As EventHandler(Of MedicalViewerKeyEventArgs)
'Usage
 
Dim instance As MedicalViewerCell
Dim handler As EventHandler(Of MedicalViewerKeyEventArgs)
 
AddHandler instance.UserActionKeyDown, handler
public event EventHandler<MedicalViewerKeyEventArgs> UserActionKeyDown
add_UserActionKeyDown(function(sender, e))
remove_UserActionKeyDown(function(sender, e))

public:
event EventHandler<MedicalViewerKeyEventArgs^>^ UserActionKeyDown
Event Data

The event handler receives an argument of type MedicalViewerKeyEventArgs containing data related to this event. The following MedicalViewerKeyEventArgs properties provide information specific to this event.

PropertyDescription
ActionID Gets or sets the ID of the action that raised the event.
Alt (Inherited from System.Windows.Forms.KeyEventArgs)Gets a value indicating whether the ALT key was pressed.
CellIndex Gets or sets the value that indicates the index of the cell that received the action.
Control (Inherited from System.Windows.Forms.KeyEventArgs)Gets a value indicating whether the CTRL key was pressed.
Handled (Inherited from System.Windows.Forms.KeyEventArgs)Gets or sets a value indicating whether the event was handled.
Images Gets or sets the array of Leadtools.RasterImage objects that contain the images to be updated.
KeyCode (Inherited from System.Windows.Forms.KeyEventArgs)Gets the keyboard code for a System.Windows.Forms.Control.KeyDown or System.Windows.Forms.Control.KeyUp event.
KeyData (Inherited from System.Windows.Forms.KeyEventArgs)Gets the key data for a System.Windows.Forms.Control.KeyDown or System.Windows.Forms.Control.KeyUp event.
KeyValue (Inherited from System.Windows.Forms.KeyEventArgs)Gets the keyboard value for a System.Windows.Forms.Control.KeyDown or System.Windows.Forms.Control.KeyUp event.
Modifiers (Inherited from System.Windows.Forms.KeyEventArgs)Gets the modifier flags for a System.Windows.Forms.Control.KeyDown or System.Windows.Forms.Control.KeyUp event. The flags indicate which combination of CTRL, SHIFT, and ALT keys was pressed.
Shift (Inherited from System.Windows.Forms.KeyEventArgs)Gets a value indicating whether the SHIFT key was pressed.
SuppressKeyPress (Inherited from System.Windows.Forms.KeyEventArgs)Gets or sets a value indicating whether the key event should be passed on to the underlying control.
Example
For an example, refer to Leadtools.MedicalViewer.MedicalViewerCell.CustomPaint
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

MedicalViewerCell Class
MedicalViewerCell Members

 

 


Products | Support | Contact Us | Copyright Notices

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

Leadtools.MedicalViewer requires a Medical Imaging license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features