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:
property HtmlWindow^ Parent {
	HtmlWindow^ 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: