Search
WindowHost.maximizedStrip Property
See Also
 






Gets a reference to the maximized windows ToolStrip.

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

 Syntax

JavaScript  Copy Code

get maximizedStrip() {}

 Property Value

A ToolStrip. A ToolStrip instance.

 Example

The following code sets the size of the maximized, minimized and command strip of a Window instance:

JavaScript  Copy Code

function handleItemDoubleClick(sender, args)
{
    if (args.item.data)
     {
        window = new ui.Window();
 window.top = ui.Unit.percentage(25);
 window.left = ui.Unit.percentage(25);
 window.width = ui.Unit.pixel(400);
 window.height = ui.Unit.pixel(300);
 window.minWidth = ui.Unit.pixel(250);
 window.minHeight = ui.Unit.pixel(300);
 window.title = args.item.title;
 window.data = args.item;
 window.templateUrl = "ChatWindow.html";
 window.commandStrip.height = ui.Unit.pixel(50);
 window.maximizedStrip.height = ui.Unit.pixel(70);
 window.minimizedStrip.height = ui.Unit.pixel(30);

      }
}

 See Also