DropHandlerBase Class
Provides the basic functionality necessary to process dragging and dropping data in the editor.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
| Name | Description | |
|---|---|---|
![]() | DropHandlerBase(IWpfTextView, IEditorOperations) | Initializes a new instance of a DropHandlerBase. |
| Name | Description | |
|---|---|---|
![]() | EditorOperations | Gets the IEditorOperations used to handle tasks such as text insertion. |
![]() | TextView | Gets the text view. |
| Name | Description | |
|---|---|---|
![]() | DeleteSpans(IList<ITrackingSpan>) | Deletes the specified spans from the buffer. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | ExtractText(DragDropInfo) | Extracts the text of the specified drag and drop info. |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetDragDropEffect(DragDropInfo) | Gets the drag and drop effect that should be displayed to the user based on the state of the operation. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | HandleDataDropped(DragDropInfo) | Indicates that the drag and drop operation has completed, and that the final tasks, if any, should be performed now. |
![]() | HandleDragCanceled() | Indicates that a drag and drop operation has been canceled. |
![]() | HandleDraggingOver(DragDropInfo) | Indicates that the drag and drop operation is in progress. |
![]() | HandleDragStarted(DragDropInfo) | Indicates the start of a drag and drop operation. |
![]() | InsertText(VirtualSnapshotPoint, String) | Inserts textual data at the given position. |
![]() | IsDropEnabled(DragDropInfo) | Determines whether the handler can accept data for a drag and drop operation. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | MoveText(VirtualSnapshotPoint, IList<ITrackingSpan>, String) | Moves the data from one location to another in the buffer by deleting the selection contents and inserting the specified text at the specified position. |
![]() | PerformPostEditActions(DragDropInfo, Boolean) | This method is called after the edits are made to the buffer to perform any necessary post edit actions. |
![]() | PerformPreEditActions(DragDropInfo) | This method is called before edits are made to the buffer to perform any necessary pre edit actions. |
![]() | SelectText(SnapshotPoint, Int32, DragDropInfo, Boolean) | Selects the text at the end of the drop operation. |
![]() | ToString() | (Inherited from Object.) |
This class is provided to allow extenders to provide their own custom drop handlers by extending this class.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


