Partager via


DiagramDragEventArgs.Effect Property

Gets or sets the target drop effect in a drag-and-drop operation.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
Public Property Effect As DragDropEffects
    Get
    Set
public DragDropEffects Effect { get; set; }
public:
property DragDropEffects Effect {
    DragDropEffects get ();
    void set (DragDropEffects value);
}
member Effect : DragDropEffects with get, set
function get Effect () : DragDropEffects
function set Effect (value : DragDropEffects)

Property Value

Type: System.Windows.Forms.DragDropEffects

.NET Framework Security

See Also

Reference

DiagramDragEventArgs Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace