WebControlInitializeView EventAwesomium.NET 1.7.6Awesomium.NET
Occurs when the underlying web-view of a WebControlis about to be instantiated and wrapped or, for child views created in response to a ShowCreatedWebView, the native view assigned to the NativeView property of a WebControl, is about to be wrapped.

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

public event WebViewEventHandler InitializeView


Type: Awesomium.CoreWebViewEventHandler



This is the last moment for setting any of the following properties, on a WebControl:
Technology Properties
Windows Forms
These properties are implemented as read-write properties on WebControls and can only be set before the underlying web-view of a WebControl is created, or a previously created native view is wrapped (see ShowCreatedWebView).

Right after this event is fired, the WebControl goes live (IsLive is set to true) and these properties can no longer be changed.

Caution note Caution
Attempting to set some of the above properties after a WebControl is live, is usually silently ignored but may also throw an exception. For details, refer to the documentation of the properties.
Note Note
This event is not fired on WebView instances. A WebView component goes live immediately at creation.
See Also