Occurs when the StopLoading method is called, or when a new navigation is requested while a current navigation is in progress.
Public Event NavigationStopped As NavigationStoppedEventHandler
public event NavigationStoppedEventHandler NavigationStopped
public: event NavigationStoppedEventHandler^ NavigationStopped { void add (NavigationStoppedEventHandler^ value); void remove (NavigationStoppedEventHandler^ value); }
member NavigationStopped : IEvent<NavigationStoppedEventHandler, NavigationEventArgs>
You handle NavigationStopped if you need to discover pertinent information regarding the navigation request when downloading is stopped. This information is available from the NavigationEventArgs object that is passed to the NavigationStopped event handler, and includes:
The requested uniform resource identifier (URI).
The navigator (NavigationWindow, Frame).
Additional data, if the navigation was initiated by calling either NavigationService..::.Navigate or NavigationService..::.Navigate.
When NavigationService raises NavigationStopped, it also raises Application..::.NavigationStopped event on the Application object.
The following example shows how to handle NavigationStopped.
Private Sub NavigationService_NavigationStopped(ByVal sender As Object, ByVal e As NavigationEventArgs) Me.progressStatusBarItem.Content = "Navigation stopped." End Sub
void NavigationService_NavigationStopped(object sender, NavigationEventArgs e) { this.progressStatusBarItem.Content = "Navigation stopped."; }
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2