IResourceInterceptorOnFilterNavigation Method Awesomium.NET 1.7.6Awesomium.NET
Called when a frame navigation occurs.

Namespace: Awesomium.Core
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version:

bool OnFilterNavigation(
	NavigationRequest request


Type: Awesomium.CoreNavigationRequest
A NavigationRequest instance providing information about the navigation request.

Return Value

Type: Boolean
true to cancel and block the navigation; false otherwise.

Note Note
This global function overrides individual INavigationInterceptor services of IWebView instances. If you cancel a navigation here by returning true, BeginLoadingFrame and BeginNavigation will never be called.

Navigation rules added to the INavigationInterceptor of the view, will also be ignored.

Caution note Caution
This method is called on the I/O Thread. Therefore, you should not make any calls to instances and members that are not thread-safe.
See Also