GestureExtensionController.CanDragDrop Method
Namespace: Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Overridable Function CanDragDrop ( _
targetMergeElement As ShapeElement, _
diagramDragEventArgs As DiagramDragEventArgs _
) As Boolean
public virtual bool CanDragDrop(
ShapeElement targetMergeElement,
DiagramDragEventArgs diagramDragEventArgs
)
public:
virtual bool CanDragDrop(
ShapeElement^ targetMergeElement,
DiagramDragEventArgs^ diagramDragEventArgs
)
abstract CanDragDrop :
targetMergeElement:ShapeElement *
diagramDragEventArgs:DiagramDragEventArgs -> bool
override CanDragDrop :
targetMergeElement:ShapeElement *
diagramDragEventArgs:DiagramDragEventArgs -> bool
public function CanDragDrop(
targetMergeElement : ShapeElement,
diagramDragEventArgs : DiagramDragEventArgs
) : boolean
Parameters
- targetMergeElement
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
- diagramDragEventArgs
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramDragEventArgs
Return Value
Type: Boolean
Implements
IGestureExtension.CanDragDrop(ShapeElement, DiagramDragEventArgs)
.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.
See Also
Reference
GestureExtensionController Class
Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement Namespace