Search
ListContainer.allowDrop Property
See Also
 






Gets or sets whether the ListContainer control can be used as a drop target.

Namespace: MindFusion.Common.UI
File: ListContainer.js

 Syntax

JavaScript  Copy Code

get allowDrop() {}

 Property Value

Boolean. true if ListItem-s can be dropped, otherwise false.

 Example

The following sample creates a ToolStrip control that derives from ListContainer and allows items to be dragged and dropped as well multiple items to be selected.

JavaScript  Copy Code

var ui = MindFusion.UI;

// create a new instance of the ToolStrip control
var toolstrip = new ui.ToolStrip(document.getElementById("toolstrip"));
toolstrip.allowMultipleSelection = true;
toolstrip.allowDrag = true;
toolstrip.allowDrop = true;

 See Also