[This is preliminary documentation and is subject to change.]

Gets the parent view (if any) of this IWebView instance.

Namespace: Awesomium.Windows.Controls
Assembly: Awesomium.Windows.Controls (in Awesomium.Windows.Controls.dll) Version: 1.7.0.5 (1.7.0.5)

Syntax

C#
public IWebView ParentView { get; internal set; }
Visual Basic
Public Property ParentView As IWebView
	Get
	Friend Set
Visual C++
public:
virtual property IWebView^ ParentView {
	IWebView^ get () sealed;
	internal: void set (IWebView^ value) sealed;
}

Implements

IWebView..::..ParentView

Remarks

A IWebView can only have a parent if it is a popup view that was created by Awesomium in response to a Javascript window.open.

For more details, see ShowCreatedWebView.

Caution
Be careful when you access members of the parent IWebView instance. The parent may have been destroyed while the this (child) view, is still alive. Always check IsLive before accessing members on the parent view, to avoid exceptions.

See Also