Table of Contents
WebView.BeforeRequestLoad Event

Occurs before a request is to be loaded.

Syntax
 public event BeforeRequestLoadHandler BeforeRequestLoad;
Event Data

The event handler receives an argument of type BeforeRequestLoadEventArgs containing data related to this event. The following BeforeRequestLoadEventArgs properties provide information specific to this event.

Name Description
Canceled Gets or sets a value indicating whether the request should be canceled.
FrameNameGets the name of the frame if this request is being loaded into a frame.
RequestGets the Request object.
TaskGets the NavigationTask object associated to the request.
Remarks

You can modify or cancel the request at this stage.

CAUTION    This event handler is called by a background worker thread.
See Also