Table of Contents

Event Loaded

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Occurs when the WebBrowser control finishes loading a document.

event EventHandler<WebBrowserEventArgs> Loaded

Returns

EventHandler<WebBrowserEventArgs>
Occurs when the WebBrowser control finishes loading a document.

Remarks

Handle the Loaded event to receive notification when the new document finishes loading. When the Loaded event occurs, the new document is fully loaded, which means you can access its contents through WebBrowser properties and methods.

To receive notification before navigation begins, handle the Navigating event. Handling this event lets you cancel navigation if certain conditions have not been met, for example, when the user has not completely filled out a form.

Handle the Navigated event to receive notification when the WebBrowser control finishes navigation and has begun loading the document at the new location.

Note that if the displayed HTML document has several frames, one such event will be generated per frame.