ShapeElement.OnDragDrop Method
Called when the user drags an item onto the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public Overridable Sub OnDragDrop ( _
e As DiagramDragEventArgs _
)
public virtual void OnDragDrop(
DiagramDragEventArgs e
)
public:
virtual void OnDragDrop(
DiagramDragEventArgs^ e
)
abstract OnDragDrop :
e:DiagramDragEventArgs -> unit
override OnDragDrop :
e:DiagramDragEventArgs -> unit
public function OnDragDrop(
e : DiagramDragEventArgs
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramDragEventArgs
Event arguments including mouse position.
.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.
See Also
Reference
Microsoft.VisualStudio.Modeling.Diagrams Namespace