|
@@ -578,6 +578,13 @@ namespace PDF_Office.ViewModels.PropertyPanel.ViewModular
|
|
|
|
|
|
public void OnNavigatedFrom(NavigationContext navigationContext)
|
|
|
{
|
|
|
+ if (BottomToolContentViewModel != null)
|
|
|
+ {
|
|
|
+ IsSingleView = BottomToolContentViewModel.IsSingleView;
|
|
|
+ IsTwoPageView = BottomToolContentViewModel.IsDoubleView;
|
|
|
+ IsBookModeView = BottomToolContentViewModel.IsBookMode;
|
|
|
+ IsContinue = BottomToolContentViewModel.IsContinue;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void OnNavigatedTo(NavigationContext navigationContext)
|
|
@@ -600,6 +607,7 @@ namespace PDF_Office.ViewModels.PropertyPanel.ViewModular
|
|
|
IsTwoPageView = BottomToolContentViewModel.IsDoubleView;
|
|
|
IsBookModeView = BottomToolContentViewModel.IsBookMode;
|
|
|
IsContinue = BottomToolContentViewModel.IsContinue;
|
|
|
+ PDFViewer.InfoChanged -= PDFViewer_InfoChanged;
|
|
|
PDFViewer.InfoChanged += PDFViewer_InfoChanged;
|
|
|
}
|
|
|
|