Gets or sets whether drag and drop capabilities are enabled.
Namespace: MindFusion.Common.UI
File: ListContainer.js
JavaScript Copy Code |
---|
get allowDrag() {} |
Boolean. true if drag and drop is enabled, otherwise false.
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 |