Xceed Ultimate ListBox for Silverlight Documentation
AllowDrag Property


Gets or sets a value indicating whether the ListBox can be a drag source for purposes of drag-and-drop operations.
Syntax
Public Property AllowDrag As Boolean
Dim instance As ListBox
Dim value As Boolean
 
instance.AllowDrag = value
 
value = instance.AllowDrag
public bool AllowDrag {get; set;}

Property Value

true if the ListBox can be a drag source; otherwise, false.
Example
You must implement the IDropTarget interface on a control you wish to be able to accept the dragged elements.
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

ListBox Class
ListBox Members

Send Feedback