.NET Framework Class Library
PictureBox.AllowDrop Property
This property supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Overrides the Control.AllowDrop property.
Namespace: System.Windows.FormsAssembly: System.Windows.Forms (in system.windows.forms.dll)
Syntax
Visual Basic (Declaration)
Public Overrides Property AllowDrop As Boolean
Visual Basic (Usage)
Dim instance As PictureBox Dim value As Boolean value = instance.AllowDrop instance.AllowDrop = value
C#
public override bool AllowDrop { get; set; }
C++
public: virtual property bool AllowDrop { bool get () override; void set (bool value) override; }
J#
/** @property */ public boolean get_AllowDrop () /** @property */ public void set_AllowDrop (boolean value)
JScript
public override function get AllowDrop () : boolean public override function set AllowDrop (value : boolean)
Platforms
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Version Information
.NET Framework
Supported in: 2.0, 1.1, 1.0See Also