Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.11 KB

how-to-refresh-a-page.md

File metadata and controls

22 lines (18 loc) · 1.11 KB
title description ms.date dev_langs helpviewer_keywords ms.assetid
How to: Refresh a Page
Learn how to refresh a page in this article, using the Refresh method, by means of code examples in C# and Visual Basic.
03/30/2017
csharp
vb
pages [WPF], refreshing
refreshing pages [WPF]
06dd1bbd-81c4-40ad-ac0d-7a5b326b1465

How to: Refresh a Page

This example shows how to call the xref:System.Windows.Navigation.NavigationWindow.Refresh%2A method to refresh the current content in a xref:System.Windows.Navigation.NavigationWindow.

Example

xref:System.Windows.Navigation.NavigationWindow.Refresh%2A refreshes the current content in a xref:System.Windows.Navigation.NavigationWindow to be reloaded from its source.

[!code-csharpHOWTONavigationSnippets#NavigateRefreshCODE] [!code-vbHOWTONavigationSnippets#NavigateRefreshCODE]