DragDropInfo Constructor

Definition

Initializes a new instance of DragDropInfo with the specified settings.

public:
 DragDropInfo(System::Windows::Point location, System::Windows::DragDropKeyStates keyStates, System::Windows::IDataObject ^ data, bool isInternal, System::Object ^ source, System::Windows::DragDropEffects allowedEffects, Microsoft::VisualStudio::Text::VirtualSnapshotPoint bufferPosition);
public DragDropInfo (System.Windows.Point location, System.Windows.DragDropKeyStates keyStates, System.Windows.IDataObject data, bool isInternal, object source, System.Windows.DragDropEffects allowedEffects, Microsoft.VisualStudio.Text.VirtualSnapshotPoint bufferPosition);
new Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropInfo : System.Windows.Point * System.Windows.DragDropKeyStates * System.Windows.IDataObject * bool * obj * System.Windows.DragDropEffects * Microsoft.VisualStudio.Text.VirtualSnapshotPoint -> Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropInfo
Public Sub New (location As Point, keyStates As DragDropKeyStates, data As IDataObject, isInternal As Boolean, source As Object, allowedEffects As DragDropEffects, bufferPosition As VirtualSnapshotPoint)

Parameters

location
Point

The location of the cursor relative to the left top corner of the text view.

keyStates
DragDropKeyStates

The state of the keyboard during the operation.

data
IDataObject

The IDataObject of the drag and drop operation.

isInternal
Boolean

true if the drag has been initiated from within the editor, otherwise false.

source
Object

The object that initiated the drag and drop operation.

allowedEffects
DragDropEffects

The drag and drop effects allowed by the source.

bufferPosition
VirtualSnapshotPoint

The buffer position of the cursor during the drag and drop operation.

Applies to