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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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.DragEventArgsThe DragEventArgs that will be used to initialize this instance.
isDropLocationUserSpecified
Type: System.BooleanA value indicating whether the user specified the drop location.
prototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototypeThe ElementGroupPrototype (if any) in the data object.
diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe 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.