WebBrowser.Navigating Event


Occurs just before navigation to a document.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public event NavigatingCancelEventHandler Navigating

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.

.NET Framework
Available since 3.0
Return to top