AnnotationContentViewModel.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using ComPDFKitViewer.AnnotEvent;
  2. using Prism.Mvvm;
  3. using Prism.Regions;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Collections.ObjectModel;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace PDF_Office.ViewModels.BOTA
  11. {
  12. public class AnnotationContentViewModel : BindableBase, INavigationAware
  13. {
  14. private ObservableCollection<AnnotHandlerEventArgs> annotationListItems;
  15. public ObservableCollection<AnnotHandlerEventArgs> AnnotationListItems
  16. {
  17. get { return annotationListItems; }
  18. set
  19. {
  20. SetProperty(ref annotationListItems, value);
  21. }
  22. }
  23. public AnnotationContentViewModel()
  24. {
  25. }
  26. public bool IsNavigationTarget(NavigationContext navigationContext)
  27. {
  28. return true;
  29. }
  30. public void OnNavigatedFrom(NavigationContext navigationContext)
  31. {
  32. }
  33. public void OnNavigatedTo(NavigationContext navigationContext)
  34. {
  35. }
  36. }
  37. }