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.AllowedEffect

Gets which drag-and-drop operations are allowed by the originator (or source) of the drag event.

[Visual Basic]
Public ReadOnly Property AllowedEffect As DragDropEffects
[C#]
public DragDropEffects AllowedEffect {get;}
[C++]
public: __property DragDropEffects get_AllowedEffect();
[JScript]
public function get AllowedEffect() : DragDropEffects;

Property Value

One of the DragDropEffects values.

Remarks

For example, when you start dragging a file in Internet Explorer, if the file is read-only (or from a read-only storage medium like a CD), the source will indicate that the file can be copied, but not transferred, to the target.

See Also

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