다음을 통해 공유


ShapeElement.OnDragEnter(DiagramDragEventArgs) Method

Definition

Event raised when an IDataObject drag enters the ShapeElement's bounds.

public:
 virtual void OnDragEnter(Microsoft::VisualStudio::Modeling::Diagrams::DiagramDragEventArgs ^ e);
public virtual void OnDragEnter (Microsoft.VisualStudio.Modeling.Diagrams.DiagramDragEventArgs e);
abstract member OnDragEnter : Microsoft.VisualStudio.Modeling.Diagrams.DiagramDragEventArgs -> unit
override this.OnDragEnter : Microsoft.VisualStudio.Modeling.Diagrams.DiagramDragEventArgs -> unit
Public Overridable Sub OnDragEnter (e As DiagramDragEventArgs)

Parameters

e
DiagramDragEventArgs

The drag arguments to be set to indicate how to handle the drag.

Remarks

A hit test is performed by the DiagramClientView and the event is fired to the most relevant ShapeElement.

Applies to