LEADTOOLS Medical (Leadtools.MedicalViewer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
UserActionKeyDown Event
See Also 
Leadtools.MedicalViewer Namespace > MedicalViewerCell Class : UserActionKeyDown Event



The UserActionKeyDown Event is available as an add-on to the LEADTOOLS Medical Imaging toolkits.

Optional delegate method for additional processing.

Syntax

Visual Basic (Declaration) 
Public Event UserActionKeyDown As EventHandler(Of MedicalViewerKeyEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As MedicalViewerCell
Dim handler As EventHandler(Of MedicalViewerKeyEventArgs)
 
AddHandler instance.UserActionKeyDown, handler
C# 
public event EventHandler<MedicalViewerKeyEventArgs> UserActionKeyDown
C++/CLI 
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 MedicalViewerCell.CustomPaint

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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