<DockPanel LastChildFill="True">
<UserControl prism:RegionManager.RegionName="{x:Static inf:RegionNames.ShellHeaderRegion}" DockPanel.Dock="Top" />
<UserControl prism:RegionManager.RegionName="{x:Static inf:RegionNames.ShellStatusRegion}" DockPanel.Dock="Bottom" />
<UserControl prism:RegionManager.RegionName="{x:Static inf:RegionNames.ShellContentRegion}"/>
</DockPanel>
Greetings,
I am building a WPF Prism app with multiple modules. Some modules utilize all 3 regions I defined. (Header, Content, Status). Other modules only utilize the content region. The problem is when I navigate from one module to another using IRegionManager.RequestNavigate()
, the ShellHeaderRegion and ShellContentRegion still contain the injected views. I would like the ability to deactivate these views, while keeping the ability to reactivate these views when I call IRegionNavigationJournal.GoBack()
. Is there a proper way to do this?