DropHandlerBase.HandleDragStarted Method
Indicates the start of a drag and drop operation.
Namespace: Microsoft.VisualStudio.Text.Editor.DragDrop
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'宣言
Public Overridable Function HandleDragStarted ( _
dragDropInfo As DragDropInfo _
) As DragDropPointerEffects
public virtual DragDropPointerEffects HandleDragStarted(
DragDropInfo dragDropInfo
)
public:
virtual DragDropPointerEffects HandleDragStarted(
DragDropInfo^ dragDropInfo
)
abstract HandleDragStarted :
dragDropInfo:DragDropInfo -> DragDropPointerEffects
override HandleDragStarted :
dragDropInfo:DragDropInfo -> DragDropPointerEffects
public function HandleDragStarted(
dragDropInfo : DragDropInfo
) : DragDropPointerEffects
Parameters
- dragDropInfo
Type: Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropInfo
Information about the drag and drop operation in progress.
Return Value
Type: Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropPointerEffects
The DragDropPointerEffects.
Implements
IDropHandler.HandleDragStarted(DragDropInfo)
Remarks
This method is called once a drop operation is in progress and the IDropHandler is the handler for the data format of the drop operation. It is not called for drop operations on the data formats that are not supported by this IDropHandler. A call to HandleDragStarted is always followed by a call to either HandleDragCanceled or HandleDataDropped.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.