Export (0) Print
Expand All
1 out of 6 rated this helpful - Rate this topic

NavigationService.Refresh Method

Reloads the current page.

Namespace:  System.Windows.Navigation
Assembly:  System.Windows.Controls.Navigation (in System.Windows.Controls.Navigation.dll)
public void Refresh()

By default, navigation to the current URI will not reload the content. However, you can use this method to force the content to reload.

This method is useful only when you set the Frame.ContentLoader property to an INavigationContentLoader implementation that can produce different page contents upon reload. For example, your content loader might display a login page when unauthorized users navigate to a particular page. After authentication, you can call Refresh to display the normal page content.


Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.