The simple view is a child of a Dragablz Tab and is defined as follows:
UserControl x:Class="Esc.Eris.Apps.Dashboards.Views.DashboardViewer"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800"
xmlns:prism="http://prismlibrary.com/"
prism:ViewModelLocator.AutoWireViewModel="True">
<Grid>
<ContentControl prism:RegionManager.RegionName="DashboardViewerContentRegion" />
</Grid>
</UserControl>
With a breakpoint set in the ViewModel constructor, I can examine the contents of the IRegionManager regionManager injected parameter, but the regionManager contains no regions.
I thought that the prism:RegionManager.RegionName= declaration in the view automatically registered the region with the regionManager, but obviously not.
This is not my first Prism app, but this is the first time I have seen this behavior.
The module containing this view was added to the moduleCatalog via the ConfigureModuleCatalog in the App.xaml.cs file.
Can someone explain what is happening here?
Thanks in advance!