Ensures that a child window fits into content bounds.
Namespace: MindFusion.Common.UI
File: Container.js
SyntaxJavaScript
Copy Code
|
|---|
function fit (window) |
WindowBase. The child window to check.
ExampleThe following code creates a new WindowHost and then makes sure the first Window fits the available space. WindowHost derives from Container:
JavaScript
Copy Code
|
|---|
// create a new instance of the WindowHost control ....... var window = host.windows[0]; if(window != null) |
See Also