WebBrowser::Navigating Event


Occurs just before navigation to a document.

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

event NavigatingCancelEventHandler^ Navigating {
	void add(NavigatingCancelEventHandler^ value);
	void remove(NavigatingCancelEventHandler^ value);

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