mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 09:06:04 +02:00
* Reset branch for WPF changes * Convert BMP to PNG; fix link-out-of-scope err * Add snippets for WPF... 6794 files!!!! * Add missing snippets * update file updated between migration * Fix paths to include * update breadcrumb and toc * fix index links * fix index links * fix index links * fix markdown
1.2 KiB
1.2 KiB
title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
| title | ms.date | dev_langs | helpviewer_keywords | ms.assetid | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| How to: Stop a Page from Loading | 03/30/2017 |
|
|
e2b695b0-517e-462c-8ccf-90cc8d6ba864 |
How to: Stop a Page from Loading
This example shows how to call the xref:System.Windows.Navigation.NavigationWindow.StopLoading%2A method to stop navigation to content before it has finished being downloaded.
Example
xref:System.Windows.Navigation.NavigationWindow.StopLoading%2A stops the download of the requested content, and causes the xref:System.Windows.Navigation.NavigationWindow.NavigationStopped event to be raised.
[!code-csharpHOWTONavigationSnippets#NavigateStopLoadingCODE] [!code-vbHOWTONavigationSnippets#NavigateStopLoadingCODE]