ShapeElement.OnDragEnter Method
Called when the mouse enters a shape during a drag operation.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public Overridable Sub OnDragEnter ( _
e As DiagramDragEventArgs _
)
public virtual void OnDragEnter(
DiagramDragEventArgs e
)
public:
virtual void OnDragEnter(
DiagramDragEventArgs^ e
)
abstract OnDragEnter :
e:DiagramDragEventArgs -> unit
override OnDragEnter :
e:DiagramDragEventArgs -> unit
public function OnDragEnter(
e : DiagramDragEventArgs
)
Parameters
Remarks
A hit test is performed by the DiagramClientView and the event is fired to the most relevant ShapeElement.
.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.
See Also
Reference
Microsoft.VisualStudio.Modeling.Diagrams Namespace