Search
Window.allowMaximize Property
See Also
 






Gets or sets a value indicating whether this Window can be maximized.

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

 Syntax

JavaScript  Copy Code

get allowMaximize() {}

 Property Value

A Boolean value. true to show a maximize button, otherwise false.

 Example

The following code creates a new Window instance, sets some of its common properties and opens it:

JavaScript  Copy Code
var window = new ui.Window();
window.top = ui.Unit.percentage(25);
window.left = ui.Unit.percentage(25);
window.title = "Statistics";
window.data = chartItem.item;
window.templateUrl = "ChatWindow.html";
window.allowMaximize = false;
window.open();

 See Also