Nevron .NET Vision
Nevron.Diagram Namespace / NNodeDragEventArgs Class / NNodeDragEventArgs Constructor
node for which the event was fired
node which was originally hit
mouse position in scene coordinates
view from which the event originated
data
key state
x
y
allowed effect
effect


In This Topic
    NNodeDragEventArgs Constructor
    In This Topic
    Initializer constructor
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal node As INNode, _
       ByVal hitNode As INNode, _
       ByVal scenePoint As NPointF, _
       ByVal view As INView, _
       ByVal data As System.Windows.Forms.IDataObject, _
       ByVal keyState As System.Integer, _
       ByVal x As System.Integer, _
       ByVal y As System.Integer, _
       ByVal allowedEffect As System.Windows.Forms.DragDropEffects, _
       ByVal effect As System.Windows.Forms.DragDropEffects _
    )
    'Usage
     
    
    Dim node As INNode
    Dim hitNode As INNode
    Dim scenePoint As NPointF
    Dim view As INView
    Dim data As System.Windows.Forms.IDataObject
    Dim keyState As System.Integer
    Dim x As System.Integer
    Dim y As System.Integer
    Dim allowedEffect As System.Windows.Forms.DragDropEffects
    Dim effect As System.Windows.Forms.DragDropEffects
     
    Dim instance As New NNodeDragEventArgs(node, hitNode, scenePoint, view, data, keyState, x, y, allowedEffect, effect)
    public NNodeDragEventArgs( 
       INNode node,
       INNode hitNode,
       NPointF scenePoint,
       INView view,
       System.Windows.Forms.IDataObject data,
       System.int keyState,
       System.int x,
       System.int y,
       System.Windows.Forms.DragDropEffects allowedEffect,
       System.Windows.Forms.DragDropEffects effect
    )

    Parameters

    node
    node for which the event was fired
    hitNode
    node which was originally hit
    scenePoint
    mouse position in scene coordinates
    view
    view from which the event originated
    data
    data
    keyState
    key state
    x
    x
    y
    y
    allowedEffect
    allowed effect
    effect
    effect
    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