ShapeElement.OnDragDrop(DiagramDragEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.