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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
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

Remarks

To use this method, the ForwardEventsToParent property must be true.

.NET Framework Security

See Also

Reference

Compartment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace