Partilhar via


NavigationWindow.Refresh Método

Definição

Recarrega o conteúdo atual.

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 ()

Exemplos

O exemplo a seguir mostra como chamar o Refresh método para recarregar o conteúdo em um 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

Comentários

Consulte NavigationService.Refresh.

Aplica-se a