Gets or sets a value indicating whether the control can accept data that the user drags onto it.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property AllowDrop As System.Boolean |
| C# | |
|---|
public System.bool AllowDrop {get; set;} |
Property Value
true if drag-and-drop operations are allowed in the control; otherwise, false. The default is false.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also