Intersoft ClientUI Documentation
DragEffect Property
See Also  Send Feedback
Intersoft.Client.UI.Controls.Interactivity Namespace > DragDropBehavior Class : DragEffect Property






Gets or sets the visualiation effect when dragging is perform.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Behavior")>
Public Property DragEffect As DragEffect
Visual Basic (Usage)Copy Code
Dim instance As DragDropBehavior
Dim value As DragEffect
 
instance.DragEffect = value
 
value = instance.DragEffect
C# 
[CategoryAttribute("Behavior")]
public DragEffect DragEffect {get; set;}
Delphi 
public read-write property DragEffect: DragEffect; 
JScript 
CategoryAttribute("Behavior")
public function get,set DragEffect : DragEffect
Managed Extensions for C++ 
[CategoryAttribute("Behavior")]
public: __property DragEffect get_DragEffect();
public: __property void set_DragEffect( 
   DragEffect value
);
C++/CLI 
[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.
The available effects are copy (the original object still visible when the shadow object appeared), move (the original object is collapsed when the shadow object appeared) and space (the original object leave a space when the shadow object appeared).

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.