←Select platform

MedicalViewerDragEventArgs Constructor

Summary

Initializes a new instance of the MedicalViewerDragEventArgs class with explicit parameters.

Syntax

C#
VB
C++
public MedicalViewerDragEventArgs( 
   MedicalViewerBaseCell cell, 
   int cellIndex, 
   int subCellIndex, 
   IDataObject data, 
   int keyState, 
   int x, 
   int y, 
   DragDropEffects allowedEffect, 
   DragDropEffects effect 
) 
  
Public Function New( _ 
   ByVal cell As Leadtools.Medicalviewer.MedicalViewerBaseCell, _ 
   ByVal cellIndex As Integer, _ 
   ByVal subCellIndex As Integer, _ 
   ByVal data As IDataObject, _ 
   ByVal keyState As Integer, _ 
   ByVal x As Integer, _ 
   ByVal y As Integer, _ 
   ByVal allowedEffect As DragDropEffects, _ 
   ByVal effect As DragDropEffects _ 
) 
             
            public: 
MedicalViewerDragEventArgs(  
   Leadtools.Medicalviewer.MedicalViewerBaseCell^ cell, 
   int cellIndex, 
   int subCellIndex, 
   IDataObject^ data, 
   int keyState, 
   int x, 
   int y, 
   DragDropEffects allowedEffect, 
   DragDropEffects effect 
) 
             

Parameters

cell
the cell that the drag is on.

cellIndex
the cell index that the drag is over right now.

subCellIndex
the sub-cell index that the drag is over right now.

data
IDataObject that contains the data associated with this event.

keyState
the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.

x
the x-coordinate of the mouse pointer, in screen coordinates.

y
the y-coordinate of the mouse pointer, in screen coordinates.

allowedEffect
the drag-and-drop operations which are allowed by the originator (or source) of the drag event.

effect
the target drop effect in a drag-and-drop operation.

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