Search
ListContainer.allowMultipleSelection Property
See Also
 






Gets or sets whether users are allowed to select more than one item at a time.

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

 Syntax

JavaScript  Copy Code

get allowMultipleSelection() {}

 Property Value

Boolean. true if multiple items can be selected, otherwise false.

 Example

The following sample creates a ToolStrip control that derives from ListContainer and allows ListItem-s 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