WebBrowser.Navigating Event

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Occurs when the WebBrowser control is navigating, including from a redirect.

Namespace:  Microsoft.Phone.Controls
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Event Navigating As EventHandler(Of NavigatingEventArgs)
public event EventHandler<NavigatingEventArgs> Navigating
<object Navigating="EventHandler<NavigatingEventArgs>" .../>

Remarks

The WebBrowser class events are raised in the following order: Navigating, Navigating, and Navigating. You can use the NavigatingEventArgs class to cancel the navigation.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

WebBrowser Class

Microsoft.Phone.Controls Namespace