←Select platform

UserActionKeyDown Event

Summary

Optional delegate method for additional processing.

Syntax

C#
VB
C++
public event EventHandler<MedicalViewerKeyEventArgs> UserActionKeyDown 
  
Public Event UserActionKeyDown As EventHandler(Of MedicalViewerKeyEventArgs) 
             
            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 CustomPaint

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly