12345678910111213141516171819202122232425262728293031 |
- using ComPDFKitViewer.PdfViewer;
- using PDF_Office.Model;
- using Prism.Mvvm;
- using Prism.Regions;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace PDF_Office.ViewModels.Tools
- {
- class ScanContentViewModel : BindableBase, INavigationAware
- {
- private CPDFViewer PDFViewer;
- public bool IsNavigationTarget(NavigationContext navigationContext)
- {
- return true;
- }
- public void OnNavigatedFrom(NavigationContext navigationContext)
- {
- return ;
- }
- public void OnNavigatedTo(NavigationContext navigationContext)
- {
- navigationContext.Parameters.TryGetValue<CPDFViewer>(ParameterNames.PDFViewer, out PDFViewer);
- }
- }
- }
|