MultiSelectAnnotPropertyViewModel.cs 960 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using PDF_Office.Model;
  2. using PDF_Office.ViewModels.Tools;
  3. using Prism.Mvvm;
  4. using Prism.Regions;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace PDF_Office.ViewModels.PropertyPanel.AnnotPanel
  11. {
  12. public class MultiSelectAnnotPropertyViewModel : BindableBase, INavigationAware
  13. {
  14. private AnnotPropertyPanel PropertyPanel;
  15. public MultiSelectAnnotPropertyViewModel()
  16. {
  17. }
  18. public bool IsNavigationTarget(NavigationContext navigationContext)
  19. {
  20. return true;
  21. }
  22. public void OnNavigatedFrom(NavigationContext navigationContext)
  23. {
  24. }
  25. public void OnNavigatedTo(NavigationContext navigationContext)
  26. {
  27. navigationContext.Parameters.TryGetValue<AnnotPropertyPanel>(ParameterNames.PropertyPanelContentViewModel, out PropertyPanel);
  28. }
  29. }
  30. }