Click or drag to resize
CfxOnBeforeNavigationEventArgs 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
    ChromiumCfxEventArgs
      Chromium.EventCfxOnBeforeNavigationEventArgs

Namespace: Chromium.Event
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxOnBeforeNavigationEventArgs : CfxEventArgs

The CfxOnBeforeNavigationEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyBrowser
Get the Browser parameter for the OnBeforeNavigation callback.
Public propertyFrame
Get the Frame parameter for the OnBeforeNavigation callback.
Public propertyIsRedirect
Get the IsRedirect parameter for the OnBeforeNavigation callback.
Public propertyNavigationType
Get the NavigationType parameter for the OnBeforeNavigation callback.
Public propertyRequest
Get the Request parameter for the OnBeforeNavigation callback.
Top
Methods
  NameDescription
Public methodSetReturnValue
Set the return value for the OnBeforeNavigation 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