Search
WindowHost.commandStrip Property
See Also
 






Gets a reference to the default commands toolStrip.

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

 Syntax

JavaScript  Copy Code

get commandStrip() {}

 Property Value

ToolStrip. A ToolStrip instance.

 Example

The following code sets the height of the commandStrip of a Window:

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);

      }
}

 See Also