SetDefaultSize
Description
Sets the default size of the window.
Syntax
// window points to instance of IWindow
await window.SetDefaultSize(width, height, resizeToDefault);
Parameters
Name | Type | Description |
---|---|---|
width | number | The default width size of the dialog. |
height | number | The default height dialog. |
resizeToDefault | boolean | Specify true to resize the window to the given default size. If false, the default width and height are kept but resizing to these value is not done. By calling ResizeToDefaultSize(), the window is resized to default width and height values. |
Return type
Type | Description |
---|---|
Promise < void > | Method does not return a value |