DiagramClientView.OnDragDropCommon Method
Called on a DragDrop.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public Sub OnDragDropCommon ( _
e As DragEventArgs, _
isDropLocationUserSpecified As Boolean, _
hitShape As ShapeElement _
)
public void OnDragDropCommon(
DragEventArgs e,
bool isDropLocationUserSpecified,
ShapeElement hitShape
)
public:
void OnDragDropCommon(
DragEventArgs^ e,
bool isDropLocationUserSpecified,
ShapeElement^ hitShape
)
member OnDragDropCommon :
e:DragEventArgs *
isDropLocationUserSpecified:bool *
hitShape:ShapeElement -> unit
public function OnDragDropCommon(
e : DragEventArgs,
isDropLocationUserSpecified : boolean,
hitShape : ShapeElement
)
Parameters
- e
Type: System.Windows.Forms.DragEventArgs
The DragEventArgs of the DragDrop.
- isDropLocationUserSpecified
Type: System.Boolean
indicates if (e.X,e.Y) were specified by the user or manufactured.
- hitShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The ShapeElement dropped onto. If null, a hit test is performed.
.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.