How to: Stop a Page from Loading

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

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


void navigateStopButton_Click(object sender, RoutedEventArgs e)
{
    this.StopLoading();
}


Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft