Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Silverlight
 Refresh Method
Collapse All/Expand All Collapse All
.NET Framework Class Library for Silverlight
NavigationService..::.Refresh Method

Reloads the current page.

Namespace:  System.Windows.Navigation
Assembly:  System.Windows.Controls.Navigation (in System.Windows.Controls.Navigation.dll)
Visual Basic (Declaration)
Public Sub Refresh
C#
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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker