I have one view named FooView
at ModuleA
and
two regions at the Shell
called BottomRegion
and UpperRegion
:
<Window x:Class="FooBootstrapper.Shell"><DockPanel LastChildFill="True"><ContentControl DockPanel.Dock="Top" prism:RegionManager.RegionName="{x:Static inf:RegionNames.UpperRegion}" Margin="5"/><ContentControl prism:RegionManager.RegionName="{x:Static inf:RegionNames.BottomRegion}" Margin="5" /></DockPanel></Window>
If I paste my FooView
to
the BottomRegion
,
then FooView
is
injected to the BottomRegion
.
And it is normal and logical.
protected override void InitializeModule() { RegionManager.RegisterViewWithRegion(RegionNames.BottomRegion, typeof(FooView)); }
However, I would like to inject one whole view FooView
into
two regions: UpperRegion
and BottomRegion
.
That is I want to have one whole view inside of UpperRegion
and BottomRegion
.
How to insert one view which "covers" two regions(UpperRegion
and BottomRegion
)?
Is it possible?