DiagramDragEventArgs Constructors

Definition

Overloads

DiagramDragEventArgs()

Initializes a new instance of the DiagramDragEventArgs class.

DiagramDragEventArgs(DragEventArgs, DiagramClientView)

Initializes a new instance of the DiagramDragEventArgs class.

DiagramDragEventArgs(DragEventArgs, Boolean, ElementGroupPrototype, DiagramClientView)

Initializes a new instance of the DiagramDragEventArgs class.

DiagramDragEventArgs()

Initializes a new instance of the DiagramDragEventArgs class.

protected:
 DiagramDragEventArgs();
protected DiagramDragEventArgs ();
Protected Sub New ()

Applies to

DiagramDragEventArgs(DragEventArgs, DiagramClientView)

Initializes a new instance of the DiagramDragEventArgs class.

public:
 DiagramDragEventArgs(System::Windows::Forms::DragEventArgs ^ dragEventArgs, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ diagramClientView);
public DiagramDragEventArgs (System.Windows.Forms.DragEventArgs dragEventArgs, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView diagramClientView);
new Microsoft.VisualStudio.Modeling.Diagrams.DiagramDragEventArgs : System.Windows.Forms.DragEventArgs * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> Microsoft.VisualStudio.Modeling.Diagrams.DiagramDragEventArgs
Public Sub New (dragEventArgs As DragEventArgs, diagramClientView As DiagramClientView)

Parameters

dragEventArgs
DragEventArgs

The DragEventArgs that will be used to initialize this instance.

diagramClientView
DiagramClientView

The DiagramClientView that the DiagramDragEventArgs originated from.

Applies to

DiagramDragEventArgs(DragEventArgs, Boolean, ElementGroupPrototype, DiagramClientView)

Initializes a new instance of the DiagramDragEventArgs class.

public:
 DiagramDragEventArgs(System::Windows::Forms::DragEventArgs ^ dragEventArgs, bool isDropLocationUserSpecified, Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ prototype, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ diagramClientView);
public DiagramDragEventArgs (System.Windows.Forms.DragEventArgs dragEventArgs, bool isDropLocationUserSpecified, Microsoft.VisualStudio.Modeling.ElementGroupPrototype prototype, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView diagramClientView);
new Microsoft.VisualStudio.Modeling.Diagrams.DiagramDragEventArgs : System.Windows.Forms.DragEventArgs * bool * Microsoft.VisualStudio.Modeling.ElementGroupPrototype * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> Microsoft.VisualStudio.Modeling.Diagrams.DiagramDragEventArgs
Public Sub New (dragEventArgs As DragEventArgs, isDropLocationUserSpecified As Boolean, prototype As ElementGroupPrototype, diagramClientView As DiagramClientView)

Parameters

dragEventArgs
DragEventArgs

The DragEventArgs that will be used to initialize this instance.

isDropLocationUserSpecified
Boolean

A value indicating whether the user specified the drop location.

prototype
ElementGroupPrototype

The ElementGroupPrototype (if any) in the data object.

diagramClientView
DiagramClientView

The DiagramClientView that the DiagramDragEventArgs originated from.

Applies to