DiagramClientView.OnDragDropCommon Method
Called on a DragDrop.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
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.DragEventArgsThe DragEventArgs of the DragDrop.
isDropLocationUserSpecified
Type: System.Booleanindicates if (e.X,e.Y) were specified by the user or manufactured.
hitShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe 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.