共用方式為


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

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

GestureExtension<T> Class

Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement Namespace