OnContentLoading
Interface AntView
Type: Event
Parameters: Boolean IsErrorPage int64 NavigationId
The onContentLoading event is triggered before any content is loaded into the control.
This event will only trigger if the page changes, not if there's a frame reload.
IsErrorPage is true if the loaded content is an error page.
NavigationId is the ID of the navigation
The order of events is:
- OnContentLoading
Beware that the NavigationId itself is a 64 bit integer.
AntView version 1.1 is the first version that has the NavigationId parameter.
Development environments that do not support the Int64 datatype will not raise this event.
In such environments where the Int64 datatype is not supported, you can set the EventsUseHexadecimal property to true to use the OnContentLoadingHex version of this event instead.
In this event, the parameter is still passed, but here it is encoded as hexadecimal in a string parameter.
AntView - The MS Edge WebView2 ActiveX control Date last changed: 11/05/2025