HtmlWindow.Parent Property

 
System_CAPS_noteNote

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

Gets the window which resides above the current one in a page containing frames.

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

public HtmlWindow Parent { get; }

Property Value

Type: System.Windows.Forms.HtmlWindow

The HtmlWindow that owns the current window. If the current window is not a FRAME, or is not embedded inside of a FRAME, it returns null.

In a document containing frames, each FRAME within a FRAMESET acts as a separate child window on the page. The parent of each FRAME is the FRAMESET which contains the FRAME.

.NET Framework
Available since 2.0
Return to top
Show: