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: 1.7.6.0
Syntax

bool OnFilterNavigation(
	NavigationRequest request
)

Parameters

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.
Remarks

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

Reference