NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DragEventArgs.Effect

Gets or sets which drag-and-drop operations are allowed by the target of the drag event.

[Visual Basic]
Public Property Effect As DragDropEffects
[C#]
public DragDropEffects Effect {get; set;}
[C++]
public: __property DragDropEffects get_Effect();
public: __property void set_Effect(DragDropEffects);
[JScript]
public function get Effect() : DragDropEffects;
public function set Effect(DragDropEffects);

Property Value

One of the DragDropEffects values.

Remarks

For example, when you drag a file in Internet Explorer, if you press CTRL, the target will try to make it a copy operation.

See Also

DragEventArgs Class | DragEventArgs Members | System.WinForms Namespace | DragDropEffects