diff --git a/ElectronNET.API/Entities/BrowserWindowOptions.cs b/ElectronNET.API/Entities/BrowserWindowOptions.cs index ba920e1..61021bb 100644 --- a/ElectronNET.API/Entities/BrowserWindowOptions.cs +++ b/ElectronNET.API/Entities/BrowserWindowOptions.cs @@ -154,14 +154,14 @@ namespace ElectronNET.API.Entities public bool Frame { get; set; } = true; /// - /// Whether this is a modal window. This only works when the window is a child - /// window.Default is false. + /// Whether this is a modal window. This only works when is + /// also specified. Default is false. /// public bool Modal { get; set; } /// /// Whether the web view accepts a single mouse-down event that simultaneously - /// activates the window.Default is false. + /// activates the window. Default is false. /// public bool AcceptFirstMouse { get; set; } @@ -270,5 +270,11 @@ namespace ElectronNET.API.Entities /// These will only be used if the Proxy field is also set. /// public string ProxyCredentials { get; set; } + + /// + /// The window to use as the created window's parent. + /// + [DefaultValue(null)] + public BrowserWindow Parent { get; set; } } }