NavigationWindow.StopLoading Method ()


Stops further downloading of content for the current navigation request.

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

public void 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.

void navigateStopButton_Click(object sender, RoutedEventArgs e)

.NET Framework
Available since 3.0
Return to top