Hello.
I've convert your code to c# and i have problem with views.
When the region is creating in DockingManagerRegionAdapter, the RegionManager is always null and in the IRegionManager is only 2 regions which i create via RegionManager.RegisterViewWithRegion and i need to add Views to ToolsRegion and DocumentsRegion in realtime.
So i add this to DockingManagerRegionAdapter.AttachBehaviors
I've convert your code to c# and i have problem with views.
When the region is creating in DockingManagerRegionAdapter, the RegionManager is always null and in the IRegionManager is only 2 regions which i create via RegionManager.RegisterViewWithRegion and i need to add Views to ToolsRegion and DocumentsRegion in realtime.
So i add this to DockingManagerRegionAdapter.AttachBehaviors
regionManager.Regions.Add(region.Name, region);
base.AttachBehaviors(region, regionTarget);
Now it is work, but is there any way to avoid DataContext property n style:<Setter Property="Title" Value="{Binding Model.DataContext.Title}"/>
Like before, when i've not use PRISM:<Setter Property="Title" Value="{Binding Model.Title}" />