Reputation: 855
I cannot seem to refresh or reload a parent window or page in wpf. I have tried the following:
private void btClear1_Click(object sender, RoutedEventArgs e)
{
//this.LayoutUpdate();
//Refresh();
//this.NavigationService.Refresh();
}
Upvotes: 3
Views: 17000
Reputation: 8986
You can achieve complete layout/render pass with InvalidateVisual call (http://msdn.microsoft.com/en-us/library/system.windows.uielement.invalidatevisual.aspx)
Upvotes: 2