Export (0) Print
Expand All

HtmlWindow.Parent Property

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft