Gets or sets a value indicating whether the ToolStrip displays scroll arrows when there is not enough room to display all items.
Namespace: MindFusion.Common.UI
File: ToolStrip.js
JavaScript Copy Code |
---|
get scrollable() {} |
Boolean. true if the toolstrip displays scroll arrows, otherwise false.
The following sample creates a new ToolStrip and a ToolStripItem to add to the collection of items. The ToolStrip is collapsible and displays scroll arrows.
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); |