DiagramDragEventArgs Constructor (DragEventArgs, Boolean, ElementGroupPrototype, DiagramClientView)
Initializes a new instance of the DiagramDragEventArgs class.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Sub New ( _
dragEventArgs As DragEventArgs, _
isDropLocationUserSpecified As Boolean, _
prototype As ElementGroupPrototype, _
diagramClientView As DiagramClientView _
)
public DiagramDragEventArgs(
DragEventArgs dragEventArgs,
bool isDropLocationUserSpecified,
ElementGroupPrototype prototype,
DiagramClientView diagramClientView
)
public:
DiagramDragEventArgs(
DragEventArgs^ dragEventArgs,
bool isDropLocationUserSpecified,
ElementGroupPrototype^ prototype,
DiagramClientView^ diagramClientView
)
new :
dragEventArgs:DragEventArgs *
isDropLocationUserSpecified:bool *
prototype:ElementGroupPrototype *
diagramClientView:DiagramClientView -> DiagramDragEventArgs
public function DiagramDragEventArgs(
dragEventArgs : DragEventArgs,
isDropLocationUserSpecified : boolean,
prototype : ElementGroupPrototype,
diagramClientView : DiagramClientView
)
Parameters
- dragEventArgs
Type: System.Windows.Forms.DragEventArgs
The DragEventArgs that will be used to initialize this instance.
- isDropLocationUserSpecified
Type: System.Boolean
A value indicating whether the user specified the drop location.
- prototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
The ElementGroupPrototype (if any) in the data object.
- diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The DiagramClientView that the DiagramDragEventArgs originated from.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.