Partilhar via


ShapeElement.OnDragDrop(DiagramDragEventArgs) Method

Definition

Event raised when an IDataObject is dragged over and then dropped into the ShapeElement.

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

Parameters

e
DiagramDragEventArgs

The drag arguments to be used to update the model with the IDataObject dropped.

Remarks

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

Applies to