Intersoft ClientUI Documentation
DropAction Property



Gets or sets the action when the attached object is dropped.
Syntax
<CategoryAttribute("Behavior")>
Public Property DropAction As DropAction
Dim instance As DragDropBehavior
Dim value As DropAction
 
instance.DropAction = value
 
value = instance.DropAction
[CategoryAttribute("Behavior")]
public DropAction DropAction {get; set;}
[CategoryAttribute("Behavior")]
public:
property DropAction DropAction {
   DropAction get();
   void set (    DropAction value);
}
Remarks
The available actions are copy and move. Move action will released the original object from its parent and attached to the drop target's panel. Copy action will requires additional code that DragEnd event where the user need to manually create / copy the original object and attached the new object to e.CustomObject at DragEnd event.
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

DragDropBehavior Class
DragDropBehavior Members

Send Feedback