DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomViewer Class / DragEnter Event






In This Topic
    DragEnter Event (DicomViewer)
    In This Topic
    Syntax
    'Declaration
     
    
    <SRCategoryAttribute("CatDragDrop")>
    <SRDescriptionAttribute("ControlOnDragEnterDescr")>
    Public Event DragEnter As System.Windows.Forms.DragEventHandler
    'Usage
     
    
    Dim instance As DicomViewer
    Dim handler As System.Windows.Forms.DragEventHandler
     
    AddHandler instance.DragEnter, handler
    [SRCategory("CatDragDrop")]
    [SRDescription("ControlOnDragEnterDescr")]
    public event System.Windows.Forms.DragEventHandler DragEnter
    public event DragEnter: System.Windows.Forms.DragEventHandler; 
    In JScript, you can handle the events defined by another class, but you cannot define your own.
    [SRCategory("CatDragDrop")]
    [SRDescription("ControlOnDragEnterDescr")]
    public: __event System.Windows.Forms.DragEventHandler* DragEnter
    [SRCategory("CatDragDrop")]
    [SRDescription("ControlOnDragEnterDescr")]
    public:
    event System.Windows.Forms.DragEventHandler^ DragEnter
    Event Data

    The event handler receives an argument of type System.Windows.Forms.DragEventArgs containing data related to this event. The following DragEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets which drag-and-drop operations are allowed by the originator (or source) of the drag event.  
    Gets the System.Windows.Forms.IDataObject that contains the data associated with this event.  
    Gets or sets the target drop effect in a drag-and-drop operation.  
    Gets the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.  
    Gets the x-coordinate of the mouse pointer, in screen coordinates.  
    Gets the y-coordinate of the mouse pointer, in screen coordinates.  
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also