DropHandlerBase::SelectText Method (SnapshotPoint, Int32, DragDropInfo^, Boolean)

 

Selects the text at the end of the drop operation.

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

protected:
virtual void SelectText(
	SnapshotPoint insertionPoint,
	int dataLength,
	DragDropInfo^ dragDropInfo,
	bool reverse
)

Parameters

insertionPoint
Type: Microsoft.VisualStudio.Text::SnapshotPoint

The position at which data was inserted.

dataLength
Type: System::Int32

The length of the data inserted in the buffer.

dragDropInfo
Type: Microsoft.VisualStudio.Text.Editor.DragDrop::DragDropInfo^

The DragDropInfo class containing information about the drop.

reverse
Type: System::Boolean

true if the existing selection prior to the drop was reversed.

This method will only be called if the drop of data resulted in an DragDropEffects other than None.

Return to top
Show: