Gets or sets a value indicating whether the toolstrip can be collapsed.
Namespace: MindFusion.Common.UI
File: ToolStrip.js
JavaScript Copy Code |
---|
get collapsible() {} |
Boolean. true if the ToolStrip can be collapsed, otherwise false.
The following sample creates a new ToolStrip and a ToolStripItem to add to the collection of items. The ToolStrip is collapsible.
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); |