Share via


DragDropInfo Constructor

Initializes a new instance of DragDropInfo with the specified settings.

Namespace:  Microsoft.VisualStudio.Text.Editor.DragDrop
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
Public Sub New ( _
    location As Point, _
    keyStates As DragDropKeyStates, _
    data As IDataObject, _
    isInternal As Boolean, _
    source As Object, _
    allowedEffects As DragDropEffects, _
    bufferPosition As VirtualSnapshotPoint _
)
public DragDropInfo(
    Point location,
    DragDropKeyStates keyStates,
    IDataObject data,
    bool isInternal,
    Object source,
    DragDropEffects allowedEffects,
    VirtualSnapshotPoint bufferPosition
)
public:
DragDropInfo(
    Point location, 
    DragDropKeyStates keyStates, 
    IDataObject^ data, 
    bool isInternal, 
    Object^ source, 
    DragDropEffects allowedEffects, 
    VirtualSnapshotPoint bufferPosition
)
new : 
        location:Point * 
        keyStates:DragDropKeyStates * 
        data:IDataObject * 
        isInternal:bool * 
        source:Object * 
        allowedEffects:DragDropEffects * 
        bufferPosition:VirtualSnapshotPoint -> DragDropInfo
public function DragDropInfo(
    location : Point, 
    keyStates : DragDropKeyStates, 
    data : IDataObject, 
    isInternal : boolean, 
    source : Object, 
    allowedEffects : DragDropEffects, 
    bufferPosition : VirtualSnapshotPoint
)

Parameters

  • location
    Type: System.Windows.Point
    The location of the cursor relative to the left top corner of the text view.
  • isInternal
    Type: System.Boolean
    true if the drag has been initiated from within the editor, otherwise false.
  • source
    Type: System.Object
    The object that initiated the drag and drop operation.

.NET Framework Security

See Also

Reference

DragDropInfo Class

Microsoft.VisualStudio.Text.Editor.DragDrop Namespace