C#
VB
C++
Optional delegate method for additional processing.
public event EventHandler<MedicalViewerKeyEventArgs> UserActionKeyDown
Public Event UserActionKeyDown As EventHandler(Of MedicalViewerKeyEventArgs)
public:
event EventHandler<MedicalViewerKeyEventArgs^>^ UserActionKeyDown
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.
Property | Description |
---|---|
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. |
For an example, refer to CustomPaint
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET