Gets a value indicating whether the ToolStrip is currently expanded.
Namespace: MindFusion.Common.UI
File: ToolStrip.js
SyntaxJavaScript
Copy Code
|
|---|
get expanded() {} |
Boolean. true if the toolstrip is expanded, otherwise false.
ExampleThe following code checks if a ToolStrip is expanded and if not, hides it and detaches its event handlers.
JavaScript
Copy Code
|
|---|
| function windowClosing(sender, args) { if(!toolstrip.expanded) { toolstrip.visible = false; toolstrip.detach(); } } |
See Also