Intersoft ClientUI Documentation
DragEffect Property



Gets or sets the visualiation effect when dragging is perform.
Syntax
<CategoryAttribute("Behavior")>
Public Property DragEffect As DragEffect
Dim instance As DragDropBehavior
Dim value As DragEffect
 
instance.DragEffect = value
 
value = instance.DragEffect
[CategoryAttribute("Behavior")]
public DragEffect DragEffect {get; set;}
[CategoryAttribute("Behavior")]
public:
property DragEffect DragEffect {
   DragEffect get();
   void set (    DragEffect value);
}
Remarks

When an object is being dragged, the source object is still displayed as the shadow object appears. This behavior can further customized by modifying the DragEffect property. There are three types of DragEffect that you can select:

  • Copy (Default)
    This effect leaves the source object displayed when the shadow object appears. This effect gives a hint that the object is being copied.
  • Link
    This effect leaves the source object displayed when the shadow object appears, the same effect as Copy with different tooltip. This effect gives a hint that the object is being linked.
  • Move
    This effect collapsed the source object, allowing the panel that host the source object to re-adjust when the shadow object appears. This effect gives a hint that the source object is moved.
  • Space
    This effect set the source object opacity to 0, when the shadow object appears. This effect give a hint that the source object is moved by leaving its space.
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

Concepts

Drag-drop Framework Overview

Send Feedback