LEADTOOLS Medical (Leadtools.Medical3D assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
AllowDrop Property
See Also 
Leadtools.Medical3D Namespace > Medical3DControl Class : AllowDrop Property



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

Leadtools.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features