ShapeElement.OnDragEnter(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 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
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.