다음을 통해 공유


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

Remarks

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

.NET Framework Security

See Also

Reference

Compartment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace