protected override void OnNavigatedFrom(NavigationEventArgs e) { if (printHelper != null) { printHelper.UnregisterForPrinting(); } }