NavigationWindow.Refresh 方法

定义

重新加载当前内容。

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

示例

以下示例演示如何调用 方法以 Refresh 重新加载 中 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

注解

请参阅 NavigationService.Refresh

适用于