Method dialog.SetOwnerWindow
Overload
Sets owner window.
public void SetOwnerWindow(AnyWnd owner, bool ownerCenter = false, bool dontDisable = false)
Parameters
owner (AnyWnd)
Owner window, or one of its child/descendant controls. Can be wnd, WPF window or element, winforms window or control. Can be |
ownerCenter (bool)
Show the dialog in the center of the owner window. dialog.SetXY and dialog.Screen are ignored. |
dontDisable (bool)
Don't disable the owner window. If |
Remarks
The owner window will be disabled, and this dialog will be on top of it. This window will be in owner's screen, if screen was not explicitly specified with the dialog.Screen property. dialog.options.defaultScreen is ignored.