GestureExtension<T>.CanDragDrop Method
Namespace: Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Protected Overridable Function CanDragDrop ( _
targetMergeElement As T, _
diagramDragEventArgs As DiagramDragEventArgs _
) As Boolean
protected virtual bool CanDragDrop(
T targetMergeElement,
DiagramDragEventArgs diagramDragEventArgs
)
protected:
virtual bool CanDragDrop(
T targetMergeElement,
DiagramDragEventArgs^ diagramDragEventArgs
)
abstract CanDragDrop :
targetMergeElement:'T *
diagramDragEventArgs:DiagramDragEventArgs -> bool
override CanDragDrop :
targetMergeElement:'T *
diagramDragEventArgs:DiagramDragEventArgs -> bool
protected function CanDragDrop(
targetMergeElement : T,
diagramDragEventArgs : DiagramDragEventArgs
) : boolean
Parameters
- targetMergeElement
Type: T
- diagramDragEventArgs
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramDragEventArgs
Return Value
Type: System.Boolean
.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
Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement Namespace