Click or drag to resize
CfrOnBeforeNavigationEventArgs Class

[This is preliminary documentation and is subject to change.]

Called before browser navigation. Return true (1) to cancel the navigation or false (0) to allow the navigation to proceed. The |Request| object cannot be modified in this callback.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Chromium.RemoteCfrEventArgs
      Chromium.Remote.EventCfrOnBeforeNavigationEventArgs

Namespace: Chromium.Remote.Event
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfrOnBeforeNavigationEventArgs : CfrEventArgs

The CfrOnBeforeNavigationEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyBrowser
Get the Browser parameter for the OnBeforeNavigation render process callback.
Public propertyFrame
Get the Frame parameter for the OnBeforeNavigation render process callback.
Public propertyIsRedirect
Get the IsRedirect parameter for the OnBeforeNavigation render process callback.
Public propertyNavigationType
Get the NavigationType parameter for the OnBeforeNavigation render process callback.
Public propertyRequest
Get the Request parameter for the OnBeforeNavigation render process callback.
Top
Methods
  NameDescription
Public methodSetReturnValue
Set the return value for the OnBeforeNavigation render process callback. Calling SetReturnValue() more then once per callback or from different event handlers will cause an exception to be thrown.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_render_process_handler_capi.h.
See Also