Gets or sets the ToolStripItem instance that can be dropped.
Namespace: MindFusion.Common.UI
File: ToolStrip.js
The following sample creates a new ToolStripItem and adds it to the collection of items of a ToolStrip instance and assigns it as a value to the allowDrop property:
JavaScript Copy Code |
---|
var ui = MindFusion.UI; // create a new instance of the ToolStrip control var button = new ui.ToolStripItem(ui.ToolStripItemType.Label, "New Tab"); toolstrip.items.add(button); |