WebBrowser.Navigating WebBrowser.Navigating WebBrowser.Navigating WebBrowser.Navigating Event

Definition

Occurs just before navigation to a document.

public:
 event System::Windows::Navigation::NavigatingCancelEventHandler ^ Navigating;
public event System.Windows.Navigation.NavigatingCancelEventHandler Navigating;
member this.Navigating : System.Windows.Navigation.NavigatingCancelEventHandler 
Public Event Navigating As NavigatingCancelEventHandler 

Remarks

Navigating event handlers are passed an instance of the NavigatingCancelEventArgs class. You can cancel the navigation by setting the Cancel property of the NavigatingCancelEventArgs object to true.

This event will only be fired for top-level navigations.

Applies to

See also