using Prism.Ioc; using Prism.Regions; using System.Windows.Controls; namespace PDF_Office.Views.EditTools.Redaction { /// /// Interaction logic for RedactionContent /// public partial class RedactionContent : UserControl { private IContainerProvider containerProvider; public RedactionContent(IContainerProvider containerProvider) { InitializeComponent(); this.containerProvider = containerProvider; var regionManager = containerProvider.Resolve(); RegionManager.SetRegionManager(this, regionManager); RegionManager.UpdateRegions(); } } }