Intersoft ClientUI Documentation
AllowDropItem Property
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXFlow Namespace > UXFlow Class : AllowDropItem Property






Gets or sets a value that determines whether external item can be dropped into this control.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Interactivity")>
Public Overridable Property AllowDropItem As Boolean
Visual Basic (Usage)Copy Code
Dim instance As UXFlow
Dim value As Boolean
 
instance.AllowDropItem = value
 
value = instance.AllowDropItem
C# 
[CategoryAttribute("Interactivity")]
public virtual bool AllowDropItem {get; set;}
Delphi 
public read-write property AllowDropItem: Boolean; virtual; 
JScript 
CategoryAttribute("Interactivity")
public function get,set AllowDropItem : boolean
Managed Extensions for C++ 
[CategoryAttribute("Interactivity")]
public: __property virtual bool get_AllowDropItem();
public: __property virtual void set_AllowDropItem( 
   bool value
);
C++/CLI 
[CategoryAttribute("Interactivity")]
public:
virtual property bool AllowDropItem {
   bool get();
   void set (    bool value);
}

Remarks

UXFlow is also equipped with full drag and drop support, which is powered by ClientUI DragDrop Framework. However, UXFlow implements drag-drop differently compared to other controls such as UXListBox, UXAccordion and UXDock, in the way users interact with the control.

UXFlow does not provide AllowReorderItem, AllowMoveItem, AllowRemoveItem properties. Instead, it introduces AllowDragItem property, which means that UXFlow only provides capability to drag its item (copy mode) and you will need to manually handle additional action in the drag events. When you set AllowDragItem property to true, any UXFlowItem can be dragged when they are positioned in the center as focus item. You can not drag items that are in preview position.

When AllowDropItem is set to True, a visual hint will be shown when an object is being dragged over to each UXFlowItem. You can change this visual hint by customizing the UXFlowItem template.

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.