| Leadtools.MedicalViewer Namespace > MedicalViewer Class : ViewerDragDrop Event |
public event EventHandler<MedicalViewerDragEventArgs> ViewerDragDrop
'Declaration Public Event ViewerDragDrop As EventHandler(Of MedicalViewerDragEventArgs)
'Usage Dim instance As MedicalViewer Dim handler As EventHandler(Of MedicalViewerDragEventArgs) AddHandler instance.ViewerDragDrop, handler
public: event EventHandler<MedicalViewerDragEventArgs^>^ ViewerDragDrop
The event handler receives an argument of type MedicalViewerDragEventArgs containing data related to this event. The following MedicalViewerDragEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| AllowedEffect (Inherited from System.Windows.Forms.DragEventArgs) | Gets which drag-and-drop operations are allowed by the originator (or source) of the drag event. |
| CellIndex | Gets the cell index that the drag is over right now. |
| Data (Inherited from System.Windows.Forms.DragEventArgs) | Gets the System.Windows.Forms.IDataObject that contains the data associated with this event. |
| Effect (Inherited from System.Windows.Forms.DragEventArgs) | Gets or sets the target drop effect in a drag-and-drop operation. |
| KeyState (Inherited from System.Windows.Forms.DragEventArgs) | Gets the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons. |
| SubCellIndex | Gets the sub-cell index that the drag is over right now. |
| X (Inherited from System.Windows.Forms.DragEventArgs) | Gets the x-coordinate of the mouse pointer, in screen coordinates. |
| Y (Inherited from System.Windows.Forms.DragEventArgs) | Gets the y-coordinate of the mouse pointer, in screen coordinates. |