Xceed Grid for WinForms v4.3 Documentation
AllowDrop Property


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > VisualGridElement Class : AllowDrop Property
Gets or sets a boolean value indicating whether the grid element can accept data that the user drags onto it.
Syntax
'Declaration
 
<DescriptionAttribute("Indicates whether the grid element can accept data that the user drags onto it.")>
<CategoryAttribute("Behavior")>
Public Property AllowDrop As Boolean
'Usage
 
Dim instance As VisualGridElement
Dim value As Boolean
 
instance.AllowDrop = value
 
value = instance.AllowDrop
[Description("Indicates whether the grid element can accept data that the user drags onto it.")]
[Category("Behavior")]
public bool AllowDrop {get; set;}

Property Value

true if drag-and-drop operations are allowed in the grid element; false otherwise.
Remarks

In order for the DragXYZ events to be raised, AllowDrop and the grid's System.Windows.Forms.Control.AllowDrop property must both be set to true.

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

Reference

VisualGridElement Class
VisualGridElement Members