NavigationWindow.StopLoading Method ()

 

Stops further downloading of content for the current navigation request.

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

Public Sub StopLoading

StopLoading stops the download of the requested content, and causes the NavigationStopped event to be raised.

See NavigationService.StopLoading.

The following example shows how to call the StopLoading method to stop navigation to content before it has finished being downloaded.

Private Sub navigateStopButton_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
	Me.StopLoading()
End Sub

.NET Framework
Available since 3.0
Return to top
Show: