DragDropInfo Constructor (Point, DragDropKeyStates, IDataObject^, Boolean, Object^, DragDropEffects, VirtualSnapshotPoint)

 

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)

public:
DragDropInfo(
	Point location,
	DragDropKeyStates keyStates,
	IDataObject^ data,
	bool isInternal,
	Object^ source,
	DragDropEffects allowedEffects,
	VirtualSnapshotPoint bufferPosition
)

Parameters

location
Type: System.Windows::Point

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

keyStates
Type: System.Windows::DragDropKeyStates

The state of the keyboard during the operation.

data
Type: System.Windows::IDataObject^

The IDataObject of the drag and drop operation.

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.

allowedEffects
Type: System.Windows::DragDropEffects

The drag and drop effects allowed by the source.

bufferPosition
Type: Microsoft.VisualStudio.Text::VirtualSnapshotPoint

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

Return to top
Show: