Compartment.OnDragDrop Method
Forwards the event to the compartment shape when the user drags the compartment to another location.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
‘선언
Public Overrides Sub OnDragDrop ( _
e As DiagramDragEventArgs _
)
public override void OnDragDrop(
DiagramDragEventArgs e
)
public:
virtual void OnDragDrop(
DiagramDragEventArgs^ e
) override
abstract OnDragDrop :
e:DiagramDragEventArgs -> unit
override OnDragDrop :
e:DiagramDragEventArgs -> unit
public override function OnDragDrop(
e : DiagramDragEventArgs
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramDragEventArgs
The event arguments.
Remarks
To use this method, the ForwardEventsToParent property must be true.
.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.