Gets or sets a value indicating whether the control can accept data that the user drags onto it.
Syntax
Visual Basic (Declaration) | |
---|
<SRCategoryAttribute("Behavior")>
<DefaultValueAttribute()>
<SRDescriptionAttribute("Indicates whether the control can accept data that the user drags onto it.")>
Public Overridable Property AllowDrop As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Medical3DControl
Dim value As Boolean
instance.AllowDrop = value
value = instance.AllowDrop |
C# | |
---|
[SRCategoryAttribute("Behavior")]
[DefaultValueAttribute()]
[SRDescriptionAttribute("Indicates whether the control can accept data that the user drags onto it.")]
public virtual bool AllowDrop {get; set;} |
C++/CLI | |
---|
[SRCategoryAttribute("Behavior")]
[DefaultValueAttribute()]
[SRDescriptionAttribute("Indicates whether the control can accept data that the user drags onto it.")]
public:
virtual property bool AllowDrop {
bool get();
void set ( bool value);
} |
Property Value
true if drag-and-drop operations are allowed in the control; otherwise, false. The default is false.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also