Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NDragDropEventDelegatorTool Class / UpdateCurrentHandler Method
drag event arguments


In This Topic
    UpdateCurrentHandler Method (NDragDropEventDelegatorTool)
    In This Topic
    Updates the current drag drop event handler
    Syntax
    'Declaration
     
    
    Protected Overridable Sub UpdateCurrentHandler( _
       ByVal e As System.Windows.Forms.DragEventArgs _
    ) 
    'Usage
     
    
    Dim instance As NDragDropEventDelegatorTool
    Dim e As System.Windows.Forms.DragEventArgs
     
    instance.UpdateCurrentHandler(e)
    protected virtual void UpdateCurrentHandler( 
       System.Windows.Forms.DragEventArgs e
    )

    Parameters

    e
    drag event arguments
    Remarks
    This method will perform the following actions:

    1. Determine the new event handler. This is either the document node hit by the scene point or the document itself if there is no hit node (the scene point must be inside the document bounds and the view viewport).

    2. If the new handler is different from the current handle and the current handle is valid it will call the OnDragLeave method of the current handler.

    3. If the new handler is different from the current handle and the new handle is valid it will call the OnDragEnter method of the new handler.

    4. Update the current handler to be the new handler

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also