UIElement.AllowDrop Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets a value that determines whether this UIElement can be a drop target for purposes of drag-and-drop operations.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<uiElement AllowDrop="bool"/>
Property Value
Type: System.Booleantrue if this UIElement can be a drop target for purposes of drag-and-drop operations; otherwise, false. The default is false.
Dependency property identifier field: AllowDropProperty
AllowDrop controls whether various events related to being a drop target are raised or can be handled. The events only occur if AllowDrop is true on that UIElement.
For more information on routed event concepts, see Events for Windows Phone 8.