File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -154,14 +154,14 @@ public class BrowserWindowOptions
154154 public bool Frame { get ; set ; } = true ;
155155
156156 /// <summary>
157- /// Whether this is a modal window. This only works when the window is a child
158- /// window. Default is false.
157+ /// Whether this is a modal window. This only works when <see cref="Parent"/> is
158+ /// also specified. Default is false.
159159 /// </summary>
160160 public bool Modal { get ; set ; }
161161
162162 /// <summary>
163163 /// Whether the web view accepts a single mouse-down event that simultaneously
164- /// activates the window.Default is false.
164+ /// activates the window. Default is false.
165165 /// </summary>
166166 public bool AcceptFirstMouse { get ; set ; }
167167
@@ -270,5 +270,11 @@ public class BrowserWindowOptions
270270 /// These will only be used if the Proxy field is also set.
271271 /// </summary>
272272 public string ProxyCredentials { get ; set ; }
273+
274+ /// <summary>
275+ /// The window to use as the created window's parent.
276+ /// </summary>
277+ [ DefaultValue ( null ) ]
278+ public BrowserWindow Parent { get ; set ; }
273279 }
274280}
You can’t perform that action at this time.
0 commit comments