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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
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
- 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.