HtmlWindow.Opener Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a reference to the window that opened the current window.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public HtmlWindow Opener { get; }

Property Value

Type: System.Windows.Forms.HtmlWindow

The HtmlWindow that was created by a call to the Open or OpenNew methods. If the window was not created using one of these methods, this property returns null.

.NET Framework
Available since 2.0
Return to top