BatesCreateContentViewModel.cs 942 B

1234567891011121314151617181920212223242526272829303132333435
  1. using Prism.Commands;
  2. using Prism.Events;
  3. using Prism.Mvvm;
  4. using Prism.Regions;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Linq;
  8. namespace PDF_Office.ViewModels.EditTools.Bates
  9. {
  10. public class BatesCreateContentViewModel : BindableBase, INavigationAware
  11. {
  12. public IEventAggregator eventAggregator;
  13. public string Unicode = null;
  14. public BatesCreateContentViewModel(IEventAggregator eventAggregator)
  15. {
  16. this.eventAggregator = eventAggregator;
  17. Unicode = App.mainWindowViewModel.SelectedItem.Unicode;
  18. }
  19. public bool IsNavigationTarget(NavigationContext navigationContext)
  20. {
  21. return true;
  22. }
  23. public void OnNavigatedFrom(NavigationContext navigationContext)
  24. {
  25. }
  26. public void OnNavigatedTo(NavigationContext navigationContext)
  27. {
  28. }
  29. }
  30. }