Delen via


Compartment.OnDragOver Method

Forwards the event to the compartment shape when the user drags the mouse over the compartment.

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 Overrides Sub OnDragOver ( _
    e As DiagramDragEventArgs _
)
public override void OnDragOver(
    DiagramDragEventArgs e
)
public:
virtual void OnDragOver(
    DiagramDragEventArgs^ e
) override
abstract OnDragOver : 
        e:DiagramDragEventArgs -> unit  
override OnDragOver : 
        e:DiagramDragEventArgs -> unit
public override function OnDragOver(
    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