Ribbon for WinForms | ComponentOne
C1.Win.Ribbon Namespace / RibbonControlHost Class / DragEnter Event

In This Topic
    DragEnter Event (RibbonControlHost)
    In This Topic
    Fires when the user drags an item into the client area of the hosted control.
    Syntax
    'Declaration
     
    
    Public Event DragEnter As DragEventHandler
    public event DragEventHandler DragEnter
    Event Data

    The event handler receives an argument of type 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.  
    See Also