RedactionContent.xaml.cs 696 B

12345678910111213141516171819202122
  1. using Prism.Ioc;
  2. using Prism.Regions;
  3. using System.Windows.Controls;
  4. namespace PDF_Office.Views.EditTools.Redaction
  5. {
  6. /// <summary>
  7. /// Interaction logic for RedactionContent
  8. /// </summary>
  9. public partial class RedactionContent : UserControl
  10. {
  11. private IContainerProvider containerProvider;
  12. public RedactionContent(IContainerProvider containerProvider)
  13. {
  14. InitializeComponent();
  15. this.containerProvider = containerProvider;
  16. var regionManager = containerProvider.Resolve<IRegionManager>();
  17. RegionManager.SetRegionManager(this, regionManager);
  18. RegionManager.UpdateRegions();
  19. }
  20. }
  21. }