Search
ToolStrip.expanded Property
See Also
 






Gets a value indicating whether the ToolStrip is currently expanded.

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

 Syntax

JavaScript  Copy Code

get expanded() {}

 Property Value

Boolean. true if the toolstrip is expanded, otherwise false.

 Example

The 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