DOMContentLoaded

Description

Occurs when the WebBrowser control has completed parsing the DOM content during the page loading process; different from NavigationCompleted which occurs when the WebBrowser control have completed loading all images, scripts, and other content on the page.

DOMContentLoaded occurs after NavigationStart and HistoryChanged, and before NavigationCompleted: NavigationStart > AddressChange > ContentLoading > HistoryChanged > DOMContentLoaded > NavigationCompleted.

After the DOM contents are parsed, the EvaluateJavascriptAsync function can be called to execute JavaScript on the page.

Syntax

DOMContentLoaded ()

Event ID

Event ID

Objects

None

WebBrowser controls


Arguments

None

Return Values

None

See also

ContentLoading