Editar

Partilhar via


NavigationWindow.Refresh Method

Definition

Reloads the current content.

public:
 virtual void Refresh();
public:
 void Refresh();
public void Refresh ();
abstract member Refresh : unit -> unit
override this.Refresh : unit -> unit
member this.Refresh : unit -> unit
Public Sub Refresh ()

Examples

The following example shows how to call the Refresh method to reload the content in a NavigationWindow.

void navigateRefreshButton_Click(object sender, RoutedEventArgs e)
{
    this.Refresh();
}
Private Sub navigateRefreshButton_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
    Me.Refresh()
End Sub

Remarks

See NavigationService.Refresh.

Applies to