DefaultRequestHandlerOnBeforeBrowse Method |
Version 63.0.0
Namespace: CefSharp.HandlerAssembly: CefSharp (in CefSharp.dll) Version: 63.0.0.0 (63.0.0.0)
Syntax public virtual bool OnBeforeBrowse(
IWebBrowser browserControl,
IBrowser browser,
IFrame frame,
IRequest request,
bool isRedirect
)
public:
virtual bool OnBeforeBrowse(
IWebBrowser^ browserControl,
IBrowser^ browser,
IFrame^ frame,
IRequest^ request,
bool isRedirect
)
Parameters
- browserControl
- Type: CefSharpIWebBrowser
the ChromiumWebBrowser control - browser
- Type: CefSharpIBrowser
the browser object - frame
- Type: CefSharpIFrame
The frame the request is coming from - request
- Type: CefSharpIRequest
the request object - cannot be modified in this callback - isRedirect
- Type: SystemBoolean
has the request been redirected
Return Value
Type:
BooleanReturn true to cancel the navigation or false to allow the navigation to proceed.
Implements
IRequestHandlerOnBeforeBrowse(IWebBrowser, IBrowser, IFrame, IRequest, Boolean)See Also