DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomViewer Class / DoDragDrop Method






In This Topic
    DoDragDrop Method (DicomViewer)
    In This Topic
    Syntax
    'Declaration
     
    
    <System.Security.Permissions.UIPermissionAttribute(UIPermissionClipboard.OwnClipboard)>
    Public Function DoDragDrop( _
       ByVal data As System.Object, _
       ByVal allowedEffects As System.Windows.Forms.DragDropEffects _
    ) As System.Windows.Forms.DragDropEffects
    'Usage
     
    
    Dim instance As DicomViewer
    Dim data As System.Object
    Dim allowedEffects As System.Windows.Forms.DragDropEffects
    Dim value As System.Windows.Forms.DragDropEffects
     
    value = instance.DoDragDrop(data, allowedEffects)
    [System.Security.Permissions.UIPermission(UIPermissionClipboard.OwnClipboard)]
    public System.Windows.Forms.DragDropEffects DoDragDrop( 
       System.object data,
       System.Windows.Forms.DragDropEffects allowedEffects
    )
    public function DoDragDrop( 
        data: System.TObject;
        allowedEffects: System.Windows.Forms.DragDropEffects
    ): System.Windows.Forms.DragDropEffects; 
    System.Security.Permissions.UIPermissionAttribute(UIPermissionClipboard.OwnClipboard)
    public function DoDragDrop( 
       data : System.Object,
       allowedEffects : System.Windows.Forms.DragDropEffects
    ) : System.Windows.Forms.DragDropEffects;
    [System.Security.Permissions.UIPermission(UIPermissionClipboard.OwnClipboard)]
    public: System.Windows.Forms.DragDropEffects DoDragDrop( 
       System.Object* data,
       System.Windows.Forms.DragDropEffects allowedEffects
    ) 
    [System.Security.Permissions.UIPermission(UIPermissionClipboard.OwnClipboard)]
    public:
    System.Windows.Forms.DragDropEffects DoDragDrop( 
       System.Object^ data,
       System.Windows.Forms.DragDropEffects allowedEffects
    ) 

    Parameters

    data
    allowedEffects
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also