Export (0) Print
Expand All

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.

Silverlight

Supported in: 5, 4

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

Community Additions

ADD
Show:
© 2014 Microsoft