Exception while registering Region in RegionManager

Docking/MDI for WPF Forum

Posted 7 years ago by amit
Version: 11.2.0553
Platform: .NET 4.0
Environment: Windows 7 (64-bit)
Avatar

Hi All

We are using ActiPro 11.2 license Software but we are facing problem when we are implementing docking in Prism4 using Prism MEF

But it is throwing exception while registering Region in RegionManager

Here is sample:

[ImportingConstructor]

public RealTimeModule(IRegionManager regionManager, IRegionViewRegistry registry, IEventAggregator evntAggregator)
{

this.regionManager = regionManager;

this.myRegionViewRegistry = registry;

this.eventAggregator = evntAggregator;

}

public void Initialize()
{

try
{

realTimeShell = new RealTimeShell();

RegionManager.SetRegionManager(realTimeShell, regionManager);

AblationViewModel ablationViewModel = new AblationViewModel();      //This is our view model

this.regionManager.Regions["MainRegion"].Add(ablationViewModel);    //Adding view model to RegionManagers' Region

}

Here is Assembly Reference in my application

ActiproSoftware.Docking.Interop.Prism.Wpf     //Compiled assembly from downloaded code from http://actipro.codeplex.com/

ActiproSoftware.Docking.Wpf

ActiproSoftware.Shared.Wpf

Microsoft.Practices.Prism

Microsoft.Practices.Prism.MefExtensions

System.ComponentModel.Composition

This assembly[ActiproSoftware.Docking.Interop.Prism.Wpf] we get it after compiling code from http://actipro.codeplex.com/

So please provide solution to us

Comments (1)

Posted 7 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Amit,

If you can please put together a small sample project that reproduces your issue and email it over then we can take a closer look. Be sure to remove any executables or change the extension of the zip file to ensure it gets past our email filters.


Actipro Software Support

The latest build of this product (v2019.1 build 0681) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.