DragDropInfo.AllowedEffects Property
Gets the drag and drop effects allowed by the source.
Namespace: Microsoft.VisualStudio.Text.Editor.DragDrop
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Dichiarazione
Public Property AllowedEffects As DragDropEffects
public DragDropEffects AllowedEffects { get; private set; }
public:
property DragDropEffects AllowedEffects {
DragDropEffects get ();
private: void set (DragDropEffects value);
}
member AllowedEffects : DragDropEffects with get, private set
function get AllowedEffects () : DragDropEffects
private function set AllowedEffects (value : DragDropEffects)
Property Value
Type: System.Windows.DragDropEffects
The DragDropEffects allowed by the source.
Remarks
As part of the contract between the source and the target, the target must honor the effects allowed by the source. For example, if the source does not permit a Move, then the target should not execute a move.
.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.