Nevron .NET Vision
Nevron.Diagram Namespace / NDragEventArgs Class / NDragEventArgs Constructor
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
    NDragEventArgs Constructor
    In This Topic
    Initializer constructor
    Syntax
    'Declaration
     
    
    Public Function New( _
       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 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 NDragEventArgs(hitNode, scenePoint, view, data, keyState, x, y, allowedEffect, effect)
    public NDragEventArgs( 
       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

    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