I need to load the region based on the RegionName binded. Somehing like
<ContentControl cal:RegionManager.RegionName="{Binding CustomRegionName}"
Grid.Column="2"/>
All the regions are registered properly. If I change the value of CustomRegionName the region never changes. How can I do this?
This behaviour is because the region is already loaded into the visual tree. Could you alter your app slightly so that you maintain the region name but load multiple views into the region. This way you would be able to select which view is active in the region and dynamically change the display of the content control by using the IRegionViewManager and IRegion interfaces
i.e
Then where you want to show a particular view somewhere else
Inject the IRegionManager and then call